Documentation
¶
Overview ¶
Example: admin_ui
This example demonstrates how to embed the AgentPG admin UI into your application. It shows: - Mounting the UI handler for the web interface - Running the UI alongside your own application routes
Run with:
DATABASE_URL=postgres://user:pass@localhost/agentpg ANTHROPIC_API_KEY=sk-... go run main.go
Then open http://localhost:8080/ui/ in your browser.
Click to show internal directories.
Click to hide internal directories.