MCPcopy
hub / github.com/kagent-dev/kagent / agent.py

File agent.py

python/samples/openai/basic_agent/basic_agent/agent.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Basic OpenAI Agent with KAgent integration.
2
3This sample demonstrates how to create a simple OpenAI agent that can:
4- Answer questions

Callers

nothing calls this directly

Calls 6

AgentInterface · 0.90
KAgentConfigClass · 0.90
KAgentAppClass · 0.90
AgentCardFunction · 0.85
runMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected