this project is a ai agent graph
nodes/ # Directory for defining tools and their configurations
data/ # Directory for storing raw data files
edges/ # Directory for managing interactions and connections between agents
env/ # Directory for environment-specific configurations (e.g., .env files)
.git # Git version control folder
.gitignore # Specifies files and directories ignored by Git
llm/ # Directory containing configurations and utilities for working with large language models
logs/ # Directory for storing log files
main.py # Entry point for running the application
Readme.md # Documentation of the project
requirements.txt # Dependencies and libraries required for the project
settings.py # Application-level settings and configurations
state.py # Handles the application's state management
utils.py # Helper functions and utilities
vectorstore.py # Implements vector storage and retrieval for the application
workflows/ # Directory for defining and managing workflows
This folder contains all tools and nodes.
Used to store raw data files or processed datasets required by the application or agents.
This folder manages interactions between agents, allowing for modular connections and defining agent-to-agent communication logic.
Contains environment-specific configuration files, such as .env
files, that define sensitive information like API keys or database URLs.
Git directory for version control.
Lists files and directories to be ignored by Git, such as logs, environment files, and build artifacts.
Houses configurations, prompt templates, and utilities related to large language models (LLMs). This includes code for LLM initialization and prompt engineering.
Stores application logs, including error logs, debug logs, and execution traces.
The main entry point of the application. This script initializes the app, sets up workflows, and runs the primary logic.
This documentation file provides an overview of the project, its structure, and usage instructions.
Lists all Python dependencies required for the project, including libraries like langchain
, openai
, and numpy
. Install these using:
pip install -r requirements.txt
Contains application-wide configurations, including constants and environment-specific settings such as:
- API keys
- Vector store configurations
- Workflow parameters
Manages and persists application state, such as:
- Agent states
- Workflow progress
- Vector store references
Includes helper functions and utilities that support the main functionality, such as:
- Data preprocessing
- Common utility methods for workflows and agents
Implements the logic for setting up and querying vector stores, used for similarity searches and LLM-powered context retrieval.
Defines workflows as modular components. Each workflow is represented as a YAML/JSON file or Python script. These workflows specify sequences of actions and tool invocations.
-
Install Dependencies:
pip install -r requirements.txt
-
Set Up Environment: Place your
.env
file in theenv/
directory with required keys like API keys. -
Run the Application:
python main.py
- Logs are stored in the
logs/
folder. Check the logs for error messages or debugging information.
Feel free to contribute by opening issues or submitting pull requests. Ensure you follow the structure and guidelines provided in this documentation.