API Reference¶
The AgenticAI Core SDK provides comprehensive APIs for building, configuring, and running multi-agent AI applications.
API Categories¶
📐 Design-Time Models¶
Define your application structure and configuration
Build your app blueprint using declarative models that specify agents, tools, memory stores, and environment configuration.
⚡ Runtime APIs¶
Execute and monitor your applications
Access runtime services during request processing including session context, logging, memory operations, and tracing.
🔧 CLI Tools¶
Deploy and manage applications
Command-line interface for packaging, deploying, and managing your applications across environments.
Development Workflow¶
graph LR
A[Define App] --> B[Configure Agents]
B --> C[Implement Tools]
C --> D[Test Locally]
D --> E[Deploy]
A1[Design-Time Models] -.-> A
A1 -.-> B
B1[Runtime APIs] -.-> C
B1 -.-> D
C1[CLI Tools] -.-> E
style A1 fill:#e3f2fd
style B1 fill:#e8f5e8
style C1 fill:#fff3e0
- Design-Time: Define application structure using models
- Runtime: Implement tools with runtime services
- CLI: Package and deploy to production
Quick Start¶
Define Your App¶
from agenticai_core.designtime.models import App, Agent, LlmModel
app = App(
name="My Assistant",
agents=[
Agent(
name="HelperAgent",
llm_model=LlmModel(model="gpt-4o-mini", provider="Open AI"),
tools=[Tool(name="MyTool", type="MCP")]
)
]
)
Implement Tools¶
from agenticai_core.designtime.models.tool import Tool
from agenticai_core.runtime.sessions.request_context import RequestContext, Logger
@Tool.register(name="MyTool", description="Example tool")
async def my_tool():
ctx = RequestContext()
logger = Logger('MyTool')
await logger.info("Tool executed")
return {"success": True}
Deploy¶
Next Steps¶
Start Building:
- User Guide - Step-by-step application development
- Quick Start - Get up and running fast
- Examples - See real applications
Deep Dive:
- Design-Time Models - Application structure and configuration
- Runtime APIs - Execution environment and services
- CLI Tools - Deployment and management commands