Open-source platform for building, managing, and orchestrating AI agents with full visibility and control.
Beta: AgentLog is under active development. Breaking changes may occur.
Live Demo: agentlog.scalebase.io
AgentLog is a full-stack platform that solves the core challenges of AI agent development:
- No visibility into what your agents are doing
- Complex configuration across different models and providers
- No easy way to compare and A/B test configurations
- Missing persistence — agents forget everything between runs
- Difficult collaboration — no way to organize agents into teams
AgentLog gives you a unified interface for multi-model execution, persistent memory, real-time monitoring, and flexible function calling.
Create AI agents that run on configurable schedules (heartbeat). Each agent has:
- Lifecycle management (Active, Standby, Paused)
- Daily token budgets to control costs
- Persistent memory that survives between executions
- Assigned archetype templates defining behavior
Organize agents into teams with shared context:
- Team-wide memory accessible to all members
- Shared task lists and coordination
- Collective token budgets
- Team-level monitoring and analytics
Run the same prompt against multiple AI configurations simultaneously:
- Compare Gemini, GPT-4, Claude, Kimi K2 side-by-side
- Test different temperatures, system prompts, and parameters
- Built-in A/B testing framework
- Detailed comparison metrics
Agents and teams remember context across sessions:
- Structured memory storage (facts, relationships, experiences)
- Full-text search across memories
- Memory importance scoring and size limits
- Real-time sync across connected agents
Define reusable, parameterized execution templates:
- Variable placeholders (
{{param_name}}) - Public/private sharing options
- Rate limiting per template
- Auth tokens for external invocation
- Template marketplace for discovery
Extend agent capabilities with external integrations:
- Built-in: Slack messaging, GitHub code/issues, Google Drive, weather data, Neo4j queries
- Custom: Define your own functions with JSON schema
- MCP Support: Model Context Protocol for standardized function interfaces
- Function chaining with depth control
Full visibility into every execution:
- Live progress tracking
- Execution flow graphs
- Detailed logs (DEBUG, INFO, WARN, ERROR)
- Token usage and cost analysis
- Complete audit trail
| Provider | Models |
|---|---|
| Google Gemini | Gemini 2.5 Pro, 1.5 Pro, 1.5 Flash |
| OpenRouter | Claude 3.5 Sonnet, GPT-4o, and more |
| Moonshot Kimi | K2 (excellent for tool use) |
- Go 1.24+
- Node.js 18+
- PostgreSQL 14+ or MySQL 8+
- Make
Copy the example config and add your credentials:
cp config.example.env config.envRequired settings:
DB_URL=postgres://user:pass@localhost:5432/agentlog
GEMINI_API_KEY=your-gemini-key
API_ENCRYPTION_KEY=your-32-byte-encryption-key
JWT_SECRET=your-jwt-secretmake run-serverThe API server starts on localhost:8080:
API endpoints:
POST /api/execute - Run multi-variation execution
GET /api/agents - List agents
GET /api/teams - List teams
GET /api/execution-runs - Execution history
GET /api/functions - Available functions
GET /api/templates - Execution templates
cd frontend
npm install
npm startOpen localhost:8081 in your browser, or press i for iOS simulator / a for Android emulator.
┌─────────────────────────────────────────────────────────┐
│ Frontend │
│ React Native (Web / iOS / Android) │
├─────────────────────────────────────────────────────────┤
│ API Layer │
│ REST + gRPC Gateway │
├─────────────────────────────────────────────────────────┤
│ Core Services │
│ Agents │ Teams │ Templates │ Memory │ Execution │
├─────────────────────────────────────────────────────────┤
│ Integrations │
│ Gemini │ OpenRouter │ Slack │ GitHub │ MCP │
├─────────────────────────────────────────────────────────┤
│ Data Layer │
│ PostgreSQL/MySQL │ Encrypted Storage │
└─────────────────────────────────────────────────────────┘
agentlog/
├── cmd/gogent/ # Server entry point
├── internal/
│ ├── agents/ # Agent management
│ ├── teams/ # Team management
│ ├── templates/ # Execution templates
│ ├── gogent/ # Core execution engine
│ ├── providers/ # AI provider integrations
│ └── db/ # Database layer (sqlc)
├── frontend/ # React Native app
├── migrations/ # Database migrations
├── sql/ # SQL queries
├── k8s/ # Kubernetes manifests
└── scripts/ # Utility scripts
AgentLog encrypts all API keys with AES-256-GCM before storing. Add keys through the UI or API:
- AI Providers: Gemini, OpenAI, OpenRouter
- Integrations: Slack, Discord, GitHub, OpenWeather, Neo4j, Google Drive
Create named configurations with specific parameters:
- Model selection
- Temperature, max tokens, top-P, top-K
- System prompts
- Safety settings
make docker-build-all
docker-compose upmake k8s-deployK8s manifests include:
- Deployments with health checks
- Services with load balancing
- Ingress for external access
- Secrets management
- Horizontal Pod Autoscaling
# Backend
make run-server # Start API server
make run-tests # Run tests
make test-coverage # Tests with coverage
make generate-db # Regenerate sqlc code
make migrate-up # Apply migrations
# Frontend
make frontend-start # Start Expo dev server
make frontend-test # Run tests
make frontend-ios # iOS simulator
make frontend-android # Android emulator
make frontend-web # Web browser# Backend
make run-tests
make test-race # With race detection
# Frontend
cd frontend && npm test- Encryption: AES-256-GCM for stored API keys
- Authentication: JWT-based with refresh tokens
- Password Security: bcrypt hashing
- Rate Limiting: Configurable per endpoint and template
- Audit Logging: Complete operation history
See SECURITY.md for vulnerability reporting.
Contributions welcome! The platform is designed for extensibility:
- Add providers: Implement the
ModelProviderinterface - Add integrations: Register in the integration registry
- Add functions: Define in
system/functions/JSON files - Extend UI: React Native components in
frontend/src/
MIT License — see LICENSE for details.
- Live Demo: agentlog.scalebase.io
- Issues: GitHub Issues
- Changelog: CHANGELOG.md