Getting Started
Prerequisites
- Python >= 3.12
- Docker — required by opensage for its sandbox backend
- opensage — installed from source:
- acpx >= 0.3 — the ACP client that spawns this adapter (Node.js >= 22):
- Neo4j (optional) — for persistent memory across sessions
Installation
Or from source:
Verify with echo mode
If you see hello echoed back with [done] end_turn, the ACP protocol layer
works.
Run with a real agent
# Prepare a config (see examples/default_config.toml)
cp examples/default_config.toml /tmp/my_config.toml
# Edit: set your LLM model and API key env vars
# Run
OPENSAGE_AGENT_DIR=/path/to/your/agent \
OPENSAGE_CONFIG_TEMPLATE=/tmp/my_config.toml \
acpx --agent opensage-acp --verbose exec "hello, what can you do?"
Register with acpx
Add opensage-acp as an agent in your acpx configuration: