This is a simple config for a Langchain agent. It is used to configure the agent and its tools.
- Python 3.10+
- Clone the repository
git clone https://github.com/MacsDickinson/langchain-agent-config.git cd langchain-agent-config - Create a new virtual environment
python -m venv .venv source .venv/bin/activate - Install the requirements
pip install -r requirements.txt
- Copy the
.env.examplefile to.envand add your API keyscp .env.example .env
- Run the agent
python src/agent.py
- Install Langgraph Studio from here
- Open the root directory of the project
- The agent is configured in
characters/agent-config.json - The agent is run in
src/agent.py - The agent uses the
langchain-communitylibrary to create the agent and its tools - The agent uses the
langchain-openailibrary to integrate with OpenAI gpt-4o - The agent uses the
langchain-anthropiclibrary to integrate with Anthropic claude-3-5-sonnet - The agent uses the
pygithublibrary to create the GitHub tools - The agent uses the
atlassian-python-apilibrary to create the Jira tools