Skip to main content

Open-source multi-agent framework for task decomposition, delegation, and execution

Reason this release was yanked:

defective

Project description

Anvyon Agentic

Open-source multi-agent framework for task decomposition, delegation, and execution.

Anvyon Agentic is a Python library for building multi-agent systems that decompose, delegate, and execute complex tasks. It provides a simple yet powerful foundation for agentic workflows with pluggable LLM providers.

License Python 3.9+

Features

  • Zero required dependencies — core library uses only Python stdlib
  • Task decomposition — break complex tasks into manageable subtasks via LLM
  • Agent registry — register, list, and find agents by skill
  • Basic delegation — create and manage delegation contracts
  • Executor routing — route tasks to the right execution path (LLM or tool)
  • Built-in tools — calculate, datetime, text_transform, json_parse, web_search
  • Pluggable LLM providers — bring your own LLM or use the built-in Anthropic provider

Looking for advanced features? PERT analysis, Monte Carlo simulation, RL optimization, trust calibration, oversight/governance, delegation memory, and human-in-the-loop are available in the anvyonenterprise package.

Installation

pip install anvyonagentic

With Anthropic (Claude) support:

pip install anvyonagentic[anthropic]

For development:

pip install anvyonagentic[dev]

Quick Start

from anvyonagentic import Task, AgentRegistry, BasicOrchestrator, ToolRegistry

tasks = [
    Task(id="T1", description="Parse user input",
         optimistic=0.5, most_likely=1.0, pessimistic=2.0),
    Task(id="T2", description="Process data",
         optimistic=1.0, most_likely=2.0, pessimistic=3.0,
         depends_on=["T1"]),
]

registry = AgentRegistry()
agents = registry.find_by_skill("reasoning")
print(f"Found agent: {agents[0].name}")

orchestrator = BasicOrchestrator()
results = orchestrator.run(tasks)
print(results)

tools = ToolRegistry()
result = tools.execute("calculate", {"expression": "2 + 2 * 3"})
print(result)

Architecture

Modules

Module Description
anvyonagentic.core Task, AgentRegistry, BasicOrchestrator
anvyonagentic.router ExecutorRouter, DelegationManager
anvyonagentic.tools ToolRegistry with built-in tools

Default Agents

Agent Type Skills
llm_reasoner llm reasoning, analysis, text generation, planning
tool_executor tool calculation, data processing, JSON parsing
code_agent llm coding, debugging, testing, code review
research_agent hybrid search, research, fact-checking

Advanced Usage

Custom Agents

from anvyonagentic import AgentRegistry, WorkerAgent

registry = AgentRegistry()

registry.register(WorkerAgent(
    name="sql_expert",
    skills=["sql", "database", "query_optimization"],
    agent_type="tool",
    description="Specialized SQL and database agent"
))

agents = registry.find_by_skill("database")
print(f"Found agent: {agents[0].name}")

Built-in Tools

from anvyonagentic import ToolRegistry

tools = ToolRegistry()

result = tools.execute("calculate", {"expression": "2 + 2 * 3"})
print(result)  # {"success": True, "data": {"result": 8}}

result = tools.execute("datetime", {"format": "iso"})
result = tools.execute("text_transform", {"text": "hello", "operation": "upper"})

Enterprise Features

For advanced capabilities including PERT analysis, Monte Carlo simulation, RL optimization, trust calibration, oversight/governance, delegation memory, and human-in-the-loop approval, see the anvyonenterprise package.

pip install anvyonenterprise

Contributing

Contributions are welcome. Please open an issue first to discuss what you would like to change.

git clone https://github.com/anvyon/anvyonagentic.git
cd anvyonagentic
pip install -e ".[dev]"
pytest

License

This project is licensed under the Apache License 2.0 — you are free to use, modify, and distribute it in both open-source and proprietary applications. See LICENSE for the full text.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anvyonagentic-3.0.0.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anvyonagentic-3.0.0-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file anvyonagentic-3.0.0.tar.gz.

File metadata

  • Download URL: anvyonagentic-3.0.0.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for anvyonagentic-3.0.0.tar.gz
Algorithm Hash digest
SHA256 9b7e9b1c0090b83ec10261d6290d24121fa4c8ea7a63711c63b0e445fd55ab94
MD5 c8572f3c0c21abde01234df5c2c908f1
BLAKE2b-256 0d44614d9761ca340c6c4b3bf9ee478deace3602cc09f03fd8922ffcb055192d

See more details on using hashes here.

File details

Details for the file anvyonagentic-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: anvyonagentic-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for anvyonagentic-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 132097dcba73ddb999f14423cdeb0a26603f202fa00abc1a6bd8504224efbfff
MD5 eefa697942ac71c81d5bdc749e1e096e
BLAKE2b-256 ef3cd58306afebf813ac0078f2ac25441306ad2b89020cc18e2364d18262c950

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page