Antikythera Agent SDK
General-purpose agent runtime with multi-agent orchestration, MCP tool integration, and WebAssembly support.
Installation
pip install antikythera-agent
For WASM execution support:
pip install antikythera-agent[wasm]
Quick Start
Create an Agent
from antikythera_agent import Agent, PromptManager, PromptConfig
prompts = PromptManager()
prompts.register(PromptConfig(
id="assistant",
name="Assistant",
content="You are a helpful assistant.",
))
agent = Agent(
provider="openai",
model="gpt-4o",
system_prompt=prompts.get_content("assistant")
)
result = agent.run("Hello, how can you help me?")
print(result.output)
Multi-Agent Orchestration
from antikythera_agent import Orchestrator, PromptManager, PromptConfig
prompts = PromptManager()
prompts.register(PromptConfig(
id="coder",
name="Coder",
content="You are a software engineer.",
tags=["engineering"]
))
prompts.register(PromptConfig(
id="reviewer",
name="Reviewer",
content="You are a code reviewer.",
tags=["quality"]
))
orchestrator = Orchestrator(execution_mode="auto", max_concurrent_tasks=4)
orchestrator.register_agent(AgentProfileConfig(
id="coder",
name="Coder",
role="developer",
system_prompt=prompts.get_content("coder")
))
orchestrator.register_agent(AgentProfileConfig(
id="reviewer",
name="Reviewer",
role="reviewer",
system_prompt=prompts.get_content("reviewer")
))
result = orchestrator.dispatch("Write and review code")
WASM Runtime (Server-Side)
from antikythera_agent import WasmRuntime
runtime = WasmRuntime()
result = runtime.call_checked("init", '{"max_steps": 10}')
print(result)
Load Prompts from JSON
from antikythera_agent import PromptManager
# Load from file
prompts = PromptManager.from_file("prompts.json")
# Or load from string
prompts = PromptManager.from_json('[{"id":"agent","name":"Agent","content":"You are helpful."}]')
Requirements
- Python >= 3.9
- wasmtime >= 28.0 (optional, for WASM execution)
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
antikythera_agent-1.7.10.tar.gz
(12.5 kB
view details)
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 antikythera_agent-1.7.10.tar.gz.
File metadata
- Download URL: antikythera_agent-1.7.10.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b311ed0e38e2834072920221de0677340b56813b8ae1f7f1f4e8178cfb49c269
|
|
| MD5 |
39dfe7d6d33aaa97cedfa611ef8d0c24
|
|
| BLAKE2b-256 |
7bc6d335c8456b141d7bd3424de011631328001e43c33e4bdc61de64ede41497
|
File details
Details for the file antikythera_agent-1.7.10-py3-none-any.whl.
File metadata
- Download URL: antikythera_agent-1.7.10-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d43697b141101ac4d2337c7a9751e913e2891d1d7df0420bb0c4d350654230b
|
|
| MD5 |
04693e4063c99f77433fd76a1a543134
|
|
| BLAKE2b-256 |
d0d3f4e6fb87ea0ec58eb26a84c3c5f0aa2b2d102aee7b843031dd67fbf5f951
|