A modular framework for building and orchestrating autonomous AI agents with persistent memory and tool use.
Project description
Cognitive Agent Orchestrator
A modular framework for building and orchestrating autonomous AI agents with persistent memory and tool use.
What This Project Is
This is a research-grade framework designed to coordinate multiple Large Language Model (LLM) agents to solve complex tasks. It provides structured memory (SQLite), safe tool execution, and an extensible architecture for experimenting with agent interactions.
What This Project Is NOT
- This is NOT Artificial General Intelligence (AGI) or Artificial Superintelligence (ASI).
- This is NOT a medical device and provides NO medical advice.
- This is NOT a conscious entity. It is a software system governed by code and probability.
Core Features
- Multi-Agent Orchestration: Coordinate specialized agents (Planner, Researcher, Critic).
- Persistent Memory: Local SQLite storage for interaction history and knowledge retrieval.
- Tool Execution: Sandbox-ready tool execution with human-in-the-loop approval hooks.
- Provider Agnostic: Supports OpenAI, Anthropic, and Groq via a unified interface.
- Context Awareness: Heuristic tracking of time, entities, and conversation history.
Architecture Overview
core/orchestrator.py: Handles API communication with LLM providers.core/agent.py: DefinesAgentbehaviors and theMultiAgentSystemworkflow.core/memory.py: Manages data persistence using SQLite.core/tools.py: Executes external tools (file I/O, Python eval).interfaces/cli.py: Command-line interface for interaction.
Intended Use Cases
- Prototyping advanced agent workflows.
- Research into multi-agent collaboration patterns.
- Building internal automation tools requiring long-term memory.
Limitations
- Performance depends entirely on the underlying LLM provider.
- The "reasoning" is a prompted simulation, not an inherent cognitive process.
- Tool execution is limited to file I/O and safe Python evaluation by default.
Installation
Prerequisites
- Python 3.10+
- API Key for OpenAI, Anthropic, or Groq.
Setup
-
Clone the repository.
-
Install dependencies (using standard requirements, primarily
aiohttp):pip install aiohttp
-
Set environment variables:
export OPENAI_API_KEY="sk-..." # or export ANTHROPIC_API_KEY="sk-ant-..."
Example Usage
Run the interactive CLI:
python -m cognitive_agent_orchestrator.interfaces.cli --interactive
Or process a single query:
python -m cognitive_agent_orchestrator.interfaces.cli -q "Plan a 3-day trip to Tokyo"
Disclaimer
This software is for research and educational purposes only. It is provided "as is" without warranty of any kind. The authors are not responsible for any output generated by the underlying LLMs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cognitive_agent_orchestrator-1.0.1.tar.gz.
File metadata
- Download URL: cognitive_agent_orchestrator-1.0.1.tar.gz
- Upload date:
- Size: 100.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d041b632fa25e5d277d4250765f8e26e162fbca1c7726d08b055afd4ba24eb65
|
|
| MD5 |
524bdeb35bc95e995f0918c0f5be87bd
|
|
| BLAKE2b-256 |
5d759f6787ffe9c219b5f94cfeddc938aa8e863b95f3c8091212c2db9974833c
|
File details
Details for the file cognitive_agent_orchestrator-1.0.1-py3-none-any.whl.
File metadata
- Download URL: cognitive_agent_orchestrator-1.0.1-py3-none-any.whl
- Upload date:
- Size: 108.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9066023b8549bd1cd54bb241583123a99a79e5bda90225456cca0853741f0b46
|
|
| MD5 |
77532f167d874ddd6d86a91bed399e86
|
|
| BLAKE2b-256 |
42cf941243fcceba07e9cb215cd0bd1eac4fc24ef29aa446342375b5436c2657
|