Examples

Minimal agent

This is the least configuration that produces a useful agent. Register it:

# axl-config/agents.toml
skills_dir = "skills"

[[agents]]
config_dir = "agents/assistant"

Then describe it:

# axl-config/agents/assistant/agent.toml
key = "assistant"
display_name = "Assistant"
description = "A helpful general-purpose assistant"
identity = "You are a concise, practical assistant."
toolsets = ["web"]

That is enough to answer questions and look things up. Session history, token and cost budgets, and the loop guard are on by default.

Restart the server, then:

curl -sX POST "$AXL_HOST/api/v1/agent/assistant/invoke" \
  -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
  -d '{"message": "What can you help me with?"}'

Next

On this page