Framework-agnostic AI agent library for building single and multi-agent systems
Project description
Agentify
Framework-agnostic AI agent library for building single and multi-agent systems
Agentify is a Python library for building and orchestrating AI agents, from simple assistants to complex multi-agent systems. It focuses on a small set of composable primitives for LLM integration, memory, tools and coordination, so you can focus on product logic instead of framework details.
Why Agentify?
- Built for production: clear abstractions, explicit configuration, error handling and extension points that map well to real deployments.
- Orchestration-first design: a uniform
run()interface for agents, teams, pipelines and hierarchies makes it straightforward to compose and refactor flows. - Providers: switch between OpenAI, Gemini, Azure OpenAI, DeepSeek, Claude and others without changing your agent code.
Key Features
-
Agents and multi-agent patterns
Single Agents with tools and memory, supervisor–worker Multi-Agent Teams, Sequential Pipelines where output flows from step to step, Hierarchical Structures for complex delegation, and Dynamic Flows where a controller decides at runtime which sub-agents or teams to invoke. -
Memory service and isolation
Pluggable backends (in-memory, Redis, …) with per-use-case policies (TTL, maximum messages, etc.), plus optional memory isolation so each agent can maintain its own conversation history for scalability and privacy. -
Tools and actions
Type-annotated tool interface, straightforward registration of custom tools. -
Observability hooks
Callback system for logging, monitoring and debugging agent behaviour across complex flows. -
I/O capabilities
Streaming support for real-time responses and vision/image models for multimodal interactions.
Installation
pip install agentify-core
For optional features:
pip install agentify-core[all] # Installs all optional dependencies
Quick Start
from agentify import BaseAgent, AgentConfig, MemoryService, MemoryAddress
from agentify.memory.stores import InMemoryStore
# 1. Create memory service
memory = MemoryService(store=InMemoryStore())
addr = MemoryAddress(conversation_id="session_1")
# 2. Create an Agent
agent = BaseAgent(
config=AgentConfig(
name="Assistant",
system_prompt="You are a helpful AI assistant.",
provider="openai",
model_name="gpt-4.1-mini"
),
memory=memory,
memory_address=addr
)
# 3. Run a conversation
response = agent.respond(user_input="Hello! How can you help me?")
Composable Flows
Agentify provides powerful primitives that can be combined to build arbitrarily complex systems:
- BaseAgent: The fundamental unit of work.
- Teams: A group of agents managed by a supervisor.
- Pipelines: A sequence of steps where output passes from one to the next.
- Hierarchies: Tree structures for massive delegation.
Because all flows share the same run() interface, you can build Teams made of Pipelines, Pipelines made of Teams, and deeply nested Hierarchies.
Agentify supports both strict workflows (fixed, pre-defined Pipelines and Hierarchies) and dynamic agentic flows, where a supervisor/router agent decides at runtime which agent, Team or Pipeline to call next.
More Examples
Check out the examples directory for detailed implementations:
Author
- Fabian Melchor fabianmp_98@hotmail.com
Links
- Repository: https://github.com/fa8i/Agentify
- Issues: https://github.com/fa8i/Agentify/issues
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 agentify_core-0.1.1.tar.gz.
File metadata
- Download URL: agentify_core-0.1.1.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3023a537283b179f703821497a8590bc92ad1780fdc762acfdaf71920a21253a
|
|
| MD5 |
e1f75d75b3b5ab9b2475e8c8a310df05
|
|
| BLAKE2b-256 |
5b0fc89f8013ce6c45a47be8e14d84e08e0f9c2838dddf7c6f31beba764724f1
|
File details
Details for the file agentify_core-0.1.1-py3-none-any.whl.
File metadata
- Download URL: agentify_core-0.1.1-py3-none-any.whl
- Upload date:
- Size: 29.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6c74487e7d780652914d6af170adac5575a441c09b0c0e3a8318b187438c1ae
|
|
| MD5 |
55fdc7199c82429a292dd059d650dd02
|
|
| BLAKE2b-256 |
fbfee7ee829b2738cc74b39397a089f43400e0a3ff3664b27fa938fa960002ba
|