LLM-neutral Python agent framework with built-in multi-channel messaging and document automation.
Project description
Agentix
Build production-ready AI agents with any LLM provider โ OpenAI, Claude, Gemini, DeepSeek, or your own endpoint.
Agentix is a modular, pure-Python framework designed to scale from solo developer projects to enterprise-grade deployments, with built-in tools, multi-channel integrations, and advanced reasoning control.
๐ Key Features
-
๐ง LLM-neutral Works with OpenAI, Anthropic (Claude), Google Gemini, DeepSeek, Ollama, vLLM, LiteLLM
-
๐ True Agent Loop
input โ LLM โ tools โ LLM โ result -
๐ Built-in Tools Filesystem, shell, web search, task management, sub-agents
-
๐ Document Skills (out of the box) PDF, Word, Excel, PowerPoint
-
๐ Multi-channel Gateway Slack, WhatsApp, Email, Webhooks
-
๐งฉ Extensible Architecture Skills, plugins, MCP servers, multi-agent orchestration
-
โ๏ธ Production Ready Logging, sandboxing, hooks, structured output, streaming
๐ฆ Installation
pip install agentix-agent-sdk
Optional extras:
pip install agentix-agent-sdk[gateway] # Slack / WhatsApp / Email
pip install agentix-agent-sdk[all] # Full install
โก Quickstart
Simple query
import asyncio
from agentix import AgentixAgentOptions, query, ResultMessage
async def main():
options = AgentixAgentOptions(
name="assistant",
provider="openai",
model="gpt-4o",
system_prompt="You are a helpful assistant."
)
async for msg in query("What is 2 + 2?", options=options):
if isinstance(msg, ResultMessage):
print(msg.result)
asyncio.run(main())
Multi-turn agent
import asyncio
from agentix import AgentixAgentOptions, AgentixClient, ResultMessage
async def main():
options = AgentixAgentOptions(
name="assistant",
provider="anthropic",
model="claude-sonnet-4",
)
async with AgentixClient(options) as client:
async for msg in client.query("Explain Python generators"):
if isinstance(msg, ResultMessage):
print(msg.result)
asyncio.run(main())
๐ง Core Concepts
Agent Loop
Agentix follows a Claude-style reasoning loop:
User โ LLM โ Tool Use โ LLM โ ... โ Final Answer
๐ Built-in Capabilities
Tools
- Filesystem: Read, Write, Edit, Search
- Shell: Bash execution
- Web: Search & fetch
- Utility: Task tracking, user input
- Agents: Delegate to sub-agents
Skills
pdfโ extraction, OCR, mergedocxโ Word automationpptxโ presentation generationxlsxโ Excel workflows
Some document features require LibreOffice (
soffice) in PATH
๐ค Multi-Agent Support
from agentix import AgentDefinition
options = AgentixAgentOptions(
agents={
"researcher": AgentDefinition(
description="Search and summarize",
tools=["WebSearch"]
)
}
)
๐ MCP Support
Connect external tool ecosystems via Model Context Protocol:
options = AgentixAgentOptions(
mcp_servers={
"filesystem": {
"type": "stdio",
"command": "npx",
"args": ["@modelcontextprotocol/server-filesystem"]
}
}
)
๐ Gateway (Optional)
Run agents across:
- Slack
- Webhooks
agentix-gateway
โ๏ธ Configuration
Project-based configuration:
.agentix/
โโโ settings.json
โโโ agents/
โโโ skills/
โโโ hooks/
๐ Security & Sandbox
- Filesystem isolation
- Controlled tool execution
- Plugin verification
๐ Observability
- Structured logging (JSON)
- Tool-level tracing
- Streaming support
๐ Environment Variables
AGENTIX_PROVIDER=openai
AGENTIX_MODEL=gpt-4o
AGENTIX_API_KEY=your-key
๐ Documentation
https://docs.agentix.aftws.com/
๐ค Contributing
Contributions welcome โ please include tests and documentation.
๐ License
MIT
๐ Links
- GitHub: https://github.com/aftws-in/agentix-agent-sdk
- Issues: https://github.com/aftws-in/agentix-agent-sdk/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 agentix_agent_sdk-0.1.0.tar.gz.
File metadata
- Download URL: agentix_agent_sdk-0.1.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09c0f26b75869d757c7219a93f255f73a9d7555cf3bb860caff8716dcfdb21cd
|
|
| MD5 |
6d6ba44623e86583fc6cd7e57e41f05d
|
|
| BLAKE2b-256 |
f76bc1bd20b86768ea7c9af2916631e108a5029738010e70094806fd77b31227
|
File details
Details for the file agentix_agent_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentix_agent_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 779.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
639ad08a0503fc7c26656bc4f215357641d0aee27394bde0e8b71b7cac3a57e4
|
|
| MD5 |
b14426c39b8f90dbc0390108cbfb6035
|
|
| BLAKE2b-256 |
0efd2b5ea09b5fc2f78c03d775465894a0b3c5c2ea2b92503724308bd0548d47
|