Observed since 20 Oct, 17:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A framework for creating abstract agents using the AbstractLLM unified interface
A framework for creating abstract agents using the AbstractLLM unified interface.
Version: 0.1.0
IMPORTANT: This is a Work In Progress. This initial release is primarily to reserve the package name on PyPI. The full framework implementation is under active development.
AbstractAgents leverages the power of AbstractLLM's unified interface to multiple Large Language Model providers, enabling developers to build intelligent agents that can:
AbstractAgents is built on top of AbstractLLM, which provides:
AbstractAgents extends this foundation by adding:
Full compatibility with all AbstractLLM providers:
# Basic installation
pip install AbstractAgents
# With AbstractLLM provider support
pip install AbstractAgents[all]
# Development installation
pip install AbstractAgents[dev]
from abstractagents import ConversationalAgent
from abstractllm import create_llm
# Create an LLM provider
provider = create_llm("openai", model="gpt-4", api_key="your-api-key")
# Create an agent
agent = ConversationalAgent(
provider=provider,
system_prompt="You are a helpful assistant.",
memory_type="working"
)
# Interact with the agent
response = agent.chat("What can you help me with?")
print(response.content)
# Agent maintains context
follow_up = agent.chat("Can you elaborate on that?")
print(follow_up.content)
from abstractagents import ToolAgent
from abstractllm import create_llm
def search_web(query: str) -> str:
"""Search the web for information."""
# Implementation here
return f"Search results for: {query}"
def save_file(filename: str, content: str) -> str:
"""Save content to a file."""
# Implementation here
return f"Saved content to {filename}"
# Create a tool-enabled agent
provider = create_llm("anthropic", model="claude-3-5-sonnet-20241022")
agent = ToolAgent(
provider=provider,
tools=[search_web, save_file],
system_prompt="You can search the web and save files."
)
# Agent can use tools automatically
response = agent.execute_task(
"Search for information about quantum computing and save a summary to a file"
)
BaseAgent
├── ConversationalAgent
├── TaskAgent
│ ├── ResearchAgent
│ ├── WritingAgent
│ └── AnalysisAgent
├── ToolAgent
└── MultiAgent
├── CollaborativeAgent
└── OrchestratorAgent
We welcome contributions! This project follows the same contribution guidelines as AbstractLLM.
# Clone the repository
git clone https://github.com/lpalbou/AbstractAgents.git
cd AbstractAgents
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytest
# Format code
black abstractagents/
isort abstractagents/
# Type checking
mypy abstractagents/
This project is licensed under the MIT License - see the LICENSE file for details.
Built on the foundation of AbstractLLM and inspired by the growing need for robust, provider-agnostic agent frameworks in the AI development community.
Note: This is an early-stage project focused on reserving the package name and establishing the project structure. Full implementation is under active development. Stay tuned for updates!
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 13 Sept 2025 | 7 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 17:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0b22c7f4a08c3901d6e22c4e51ceaf93b875369fe6d326be8373b075cb475fcc