Skip to content

Deep Competitive Analyst is a 'deep agent' style LLM assistant built to automate the creation of company profiles and competitive analyses

License

Notifications You must be signed in to change notification settings

ALucek/deep-competitive-analyst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Competitive Analyst

Deep Competitive Analyst is a 'deep agent' style LLM assistant built to automate the creation of company profiles and competitive analyses. Built on top of deepagents, LangGraph Platform, and Perplexity Search, DCA can perform thorough research autonomously to create detailed business reports in a fraction of the time of a human. It operates for extended periods, dynamically spawning sub-agents to parallelize research tasks and creates the kind of in-depth competitive analysis that usually costs thousands.

Example output from the agent can be viewed here.

Installation

  1. Clone the repository:
git clone https://github.com/ALucek/deep-competitive-analyst.git
cd deep-competitive-analyst
  1. Install depencies:
uv sync
  1. Create a .env file with the following variables:
OPENAI_API_KEY=<your-api-key>
PERPLEXITY_API_KEY=<your-api-key>
LANGSMITH_API_KEY=<your-api-key>
LANGSMITH_TRACING=true
LANGSMITH_ENDPOINT=https://api.smith.langchain.com
LANGSMITH_PROJECT=deep_competitive_analyst
  1. Launch the agent:
cd src
uv run langgraph dev  

The Deep Competitive Analyst will now be running locally via the langgraph platform and can be integrated into your own compatible interface. It is recommended to use LangSmith Studio for local testing.

Contributing

Contributions welcome! Feel free to submit a PR

Todo List:

  • Dedicated front end
  • File saving outside of state
  • Better filtering KWARGS for search tool
  • Test performance with different/smaller models
  • Human in the loop tool for clarifications from main system
  • Kickoff scope clarification
  • Conversation reconstruction from sub agent context for followup QnA
  • Better middleware management
  • Better company profile formatting

License

Apache-2.0 License - See LICENSE

License

About

Deep Competitive Analyst is a 'deep agent' style LLM assistant built to automate the creation of company profiles and competitive analyses

Topics

Resources

License

Stars

Watchers

Forks

Languages