diff --git a/README.md b/README.md index 01b4d7a4..9f414fe6 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ -Archon is an AI meta-agent designed to autonomously build, refine, and optimize other AI agents. +Archon is the world's first **"Agenteer"**, an AI agent designed to autonomously build, refine, and optimize other AI agents. It serves both as a practical tool for developers and as an educational framework demonstrating the evolution of agentic systems. Archon will be developed in iterations, starting with just a simple Pydantic AI agent that can build other Pydantic AI agents, diff --git a/archon/archon_graph.py b/archon/archon_graph.py index d712bf73..db20f7b7 100644 --- a/archon/archon_graph.py +++ b/archon/archon_graph.py @@ -12,7 +12,6 @@ from supabase import Client import logfire import os import sys -from utils.utils import get_env_var # Import the message classes from Pydantic AI from pydantic_ai.messages import ( @@ -23,6 +22,7 @@ from pydantic_ai.messages import ( # Add the parent directory to Python path sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from archon.pydantic_ai_coder import pydantic_ai_coder, PydanticAIDeps, list_documentation_pages_helper +from utils.utils import get_env_var # Load environment variables load_dotenv() diff --git a/archon/pydantic_ai_coder.py b/archon/pydantic_ai_coder.py index ec47a55a..179925aa 100644 --- a/archon/pydantic_ai_coder.py +++ b/archon/pydantic_ai_coder.py @@ -15,10 +15,10 @@ from pydantic_ai.models.anthropic import AnthropicModel from pydantic_ai.models.openai import OpenAIModel from openai import AsyncOpenAI from supabase import Client -from utils.utils import get_env_var # Add the parent directory to sys.path to allow importing from the parent directory sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +from utils.utils import get_env_var load_dotenv() diff --git a/iterations/v4-streamlit-ui-overhaul/archon/archon_graph.py b/iterations/v4-streamlit-ui-overhaul/archon/archon_graph.py index d712bf73..db20f7b7 100644 --- a/iterations/v4-streamlit-ui-overhaul/archon/archon_graph.py +++ b/iterations/v4-streamlit-ui-overhaul/archon/archon_graph.py @@ -12,7 +12,6 @@ from supabase import Client import logfire import os import sys -from utils.utils import get_env_var # Import the message classes from Pydantic AI from pydantic_ai.messages import ( @@ -23,6 +22,7 @@ from pydantic_ai.messages import ( # Add the parent directory to Python path sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from archon.pydantic_ai_coder import pydantic_ai_coder, PydanticAIDeps, list_documentation_pages_helper +from utils.utils import get_env_var # Load environment variables load_dotenv() diff --git a/iterations/v4-streamlit-ui-overhaul/archon/pydantic_ai_coder.py b/iterations/v4-streamlit-ui-overhaul/archon/pydantic_ai_coder.py index ec47a55a..179925aa 100644 --- a/iterations/v4-streamlit-ui-overhaul/archon/pydantic_ai_coder.py +++ b/iterations/v4-streamlit-ui-overhaul/archon/pydantic_ai_coder.py @@ -15,10 +15,10 @@ from pydantic_ai.models.anthropic import AnthropicModel from pydantic_ai.models.openai import OpenAIModel from openai import AsyncOpenAI from supabase import Client -from utils.utils import get_env_var # Add the parent directory to sys.path to allow importing from the parent directory sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +from utils.utils import get_env_var load_dotenv()