This project supports multiple methods to invoke the agents built within the system. By switching to the "Call Method" section from the sidebar, you can learn how to call Agent Party via OpenAI API, MCP server, Docker, or through the web interface.
enable_thinking
: Default is False; whether to enable thinking modeenable_deep_research
: Default is False; whether to enable deep research modeenable_web_search
: Default is False; whether to enable web searchsuper-model
, which invokes the agent currently configured. If you need to call another agent, please input the corresponding agent name or ID as the model name. You can view and copy the agent name or ID on the agent interface.from openai import OpenAI
client = OpenAI(
api_key="super-secret-key",
base_url="<http://127.0.0.1:3456/v1>"
)
response = client.chat.completions.create(
model="super-model",
messages=[
{"role": "user", "content": "What is Super Agent Party?"}
]
)
print(response.choices[0].message.content)
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: "super-secret-key",
baseURL: "<http://127.0.0.1:3456/v1>"
});
async function main() {
const completion = await client.chat.completions.create({
model: "super-model",
messages: [
{ role: "user", content: "What is Super Agent Party?" }
]
});
console.log(completion.choices[0].message.content);
}
main();
curl <http://127.0.0.1:3456/v1/chat/completions> \\\\
-H "Content-Type: application/json" \\\\
-H "Authorization: Bearer super-secret-key" \\\\
-d '{
"model": "super-model",
"messages": [
{"role": "user", "content": "What is Super Agent Party?"}
]
}'
http://127.0.0.1:3456/mcp
.get_agents
: Allows external agents to query the Agent Party MCP server for a list of available agentschat_with_agent_party
: Enables external agents to choose an agent for conversation based on the ID returned by get_agents
{
"mcpServers": {
"super-agent-party": {
"url": "<http://127.0.0.1:3456/mcp>"
}
}
}
./super-agent-data
can be replaced with any local folder. After Docker starts, all data will be cached in this local folder and will not be uploaded anywhere.