Developer Guide
This guide is for developers who want to understand the internals of Rakam Systems and build with its full API surface. It covers architecture, core abstractions, agents, vector pipelines, search, configuration, and tracking. For usage patterns and tutorials, see the User Guide.
Sections
- Getting Started — Set up the development environment
- Architecture — Package structure and design principles
- Core concepts — BaseComponent lifecycle, interfaces, configuration-first design
- Build agents — BaseAgent, tools, ToolRegistry, dynamic system prompts, structured output
- Use LLM gateways — OpenAI, Mistral, Factory; direct generation, structured output, streaming
- Manage chat history — JSON, SQLite, PostgreSQL backends; Pydantic AI integration
- Build vector pipelines — Data structures, embeddings, document loading, chunking
- Search — Vector search, keyword search, hybrid search
- Configure with YAML — Agent configuration, VectorStore configuration, multi-environment deployment
- Track and evaluate — Tracking system, cross-reference evaluation CLI and SDK
- Environment variables — Complete reference table