Setup

Native function-calling adapter

Use the native adapter for OpenAI-compatible function calling.

The native adapter targets any agent that speaks OpenAI-compatible function calling. Most in-house agents fall into this bucket.

Endpoint contract

Expose an endpoint that accepts an OpenAI-style ChatCompletion request and returns the raw response — including any tool_calls the agent would execute.

POST /agent
// request
{
"messages": [{"role":"user","content":"..."}],
"tools": [/* function schemas */]
}
// response
{
"choices": [{ "message": {
"role": "assistant",
"tool_calls": [{ "function": { "name": "...", "arguments": "..." } }]
}}]
}

Run

shell
talos-scan --target http://localhost:8001/agent --adapter native
Adapter: native (OpenAI function-calling)
Discovering tool graph... 6 tools found
Ready to attack.