Skip to main content

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, merge
  • docx — Word automation
  • pptx — presentation generation
  • xlsx — 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
  • WhatsApp
  • Email
  • 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


Release files for agentix-agent-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentix-agent-sdk 0.1.0
File Size Uploaded
agentix_agent_sdk-0.1.0.tar.gz 1.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentix-agent-sdk 0.1.0
File Interpreter ABI Platform
agentix_agent_sdk-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.9 MB

Release files / agentix_agent_sdk-0.1.0.tar.gz

Download URL agentix_agent_sdk-0.1.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
09c0f26b75869d757c7219a93f255f73a9d7555cf3bb860caff8716dcfdb21cd
BLAKE2b-256 checksum
How to use checksums
f76bc1bd20b86768ea7c9af2916631e108a5029738010e70094806fd77b31227
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release files / agentix_agent_sdk-0.1.0-py3-none-any.whl

Download URL agentix_agent_sdk-0.1.0-py3-none-any.whl
Size 779.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
639ad08a0503fc7c26656bc4f215357641d0aee27394bde0e8b71b7cac3a57e4
BLAKE2b-256 checksum
How to use checksums
0efd2b5ea09b5fc2f78c03d775465894a0b3c5c2ea2b92503724308bd0548d47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page