Go API
Owns public routing, JWT validation, PostgreSQL writes, Redis coordination, MinIO object access, and domain authorization.
Explore API routes →One operating atlas for the Kibegi Go API, asynchronous AI indexer, and confirmation-safe FastMCP agent gateway.
Owns public routing, JWT validation, PostgreSQL writes, Redis coordination, MinIO object access, and domain authorization.
Explore API routes →Extracts documents, creates chunks, records jobs, retries stale work, and adds optional embeddings without delaying uploads.
Inspect the pipeline →Offers typed tools and a guarded generic API request path while forwarding the end-user JWT to Go for authorization.
Open the tool atlas →The Go service preserves the `/api/v1/` contract while domain packages own their repository rules, authorization, and cache invalidation.
View full reference ↗Go commits the upload and triggers the indexer asynchronously through a private service token.
Redis locks prevent duplicate workers while PostgreSQL keeps job state and chunks durable.
Optional embeddings enrich retrieval, but extraction remains useful if a provider is unavailable.
# verify the Go service
GOTOOLCHAIN=local go test ./...
GOTOOLCHAIN=local go build -o bin/kibegi-api ./cmd/kibegi-api/
# start private AI indexing
cd services/ai-indexer && uvicorn app.main:app --port 8090
# start the FastMCP gateway
cd ../kibegi-agent && uvicorn app.main:app --port 8091