Quick Start
The fastest path is to run the published server image and use the hosted runtime first.
Run the platform
Section titled “Run the platform”docker run -p 8080:8080 \ -v ./data:/data \ -e AGENTCIRCUITS__AUTH__PROVIDERS__0=LocalUserId \ -e AGENTCIRCUITS__AUTH__LOCALUSERID__ENABLED=true \ -e AGENTCIRCUITS__PORTAL__REQUIREAUTHENTICATION=true \ -e AGENTCIRCUITS__PROVIDERS__ANTHROPIC__API_KEY=sk-ant-... \ ghcr.io/agent-circuits/agentcircuits-server:latestThis gives you:
- the portal at
http://localhost:8080/portal - the chat UI at
http://localhost:8080/chat - health checks at
http://localhost:8080/health - file-backed storage mounted at
./data
Configure the runtime
Section titled “Configure the runtime”The same runtime can be configured with environment variables:
AGENTCIRCUITS__STORAGE__MODE=SqlAGENTCIRCUITS__STORAGE__CONNECTIONSTRING=Host=postgres;Database=agentcircuitsAGENTCIRCUITS__PORTAL__CLITOOLDIRS__0=/app/cli-toolsAGENTCIRCUITS__PORTAL__SKILLDIRS__0=/app/skillsFor local SQL-backed development, the server repo also ships a compose profile that runs the platform against PostgreSQL.
Add tools
Section titled “Add tools”You have three main extension paths:
- Mount CLI tool directories and point
AgentCircuits:Portal:CliToolDirsat them. - Attach MCP servers to agents through the platform.
- Build your own host and register services or tools in code.
Custom C# tools still use the runtime attributes shown in the samples:
[Tool("get_weather", "Get current weather for a city")]public static async Task<ToolResult> GetWeather( [ToolParam("City name")] string city, IToolContext context){ await Task.Delay(100, context.CancellationToken); return ToolResult.Success($"Weather for {city} is sunny.");}Build a custom host only if you need one
Section titled “Build a custom host only if you need one”When the default container is not enough, move to a custom ASP.NET Core host:
AgentCircuits.Server.Program.Run(args, builder =>{ builder.Services.AddSingleton<IMyService, MyService>();});What to read next
Section titled “What to read next”- Platform Runtime for the hosted runtime surface area.
- Custom Tools for the tool model.
- NuGet SDK when you are ready to extend or embed the runtime.