# Insika
> Insika is a Ruby runtime for LLM agents in production: a durable, resumable turn
> pipeline behind an OpenAI-Responses-compatible HTTP API (`POST /v1/responses`), with
> tools, skills, cross-session memory, per-agent policy, content-safety guardrails, and a
> web control UI. Agents are data — created and edited at runtime, no redeploy.
Insika is the operational layer around a model call, not another way to call a model. It
builds on [RubyLLM](https://rubyllm.com) for the chat/tool primitives and adds the parts
production needs: checkpointing, policy, safety, limits, observability and a drop-in API.
Engine overhead is ~0.4 ms p50 per turn.
Every link below is raw markdown — the same files the human-facing site renders at
. A running instance serves them too, at
`GET /docs/.md` (index at `GET /docs`), alongside its model catalog at
`GET /models.json` and an imperative build-my-first-agent prompt at `GET /start.md`.
## Start here
- [README](https://raw.githubusercontent.com/guizaols/insika/main/README.md): what Insika is, the one-file first agent, and the router to everything else.
- [Why Insika](https://raw.githubusercontent.com/guizaols/insika/main/docs/WHY.md): why a runtime rather than a DIY loop, an assembled framework, or a hosted gateway.
- [Running locally](https://raw.githubusercontent.com/guizaols/insika/main/docs/RUNNING-LOCAL.md): boot the engine, the control UI, pointing a Responses client at it, wiring tools to your own backend.
- [Onboarding prompt](https://raw.githubusercontent.com/guizaols/insika/main/docs/onboarding/start.md): the skill-structured prompt a coding agent follows to build a first agent (served live at `/start.md`).
## Core concepts
- [Agents](https://raw.githubusercontent.com/guizaols/insika/main/docs/AGENTS.md): the AgentProfile, its five access layers, and creating or editing agents at runtime via UI, pack import, or `POST /v1/agents`.
- [Tools](https://raw.githubusercontent.com/guizaols/insika/main/docs/TOOLS.md): code tools, data-defined tools, MCP import, manifests, and egress troubleshooting.
- [Skills](https://raw.githubusercontent.com/guizaols/insika/main/docs/SKILLS.md): the SKILL.md format and progressive, on-demand loading.
- [Context](https://raw.githubusercontent.com/guizaols/insika/main/docs/CONTEXT.md): what fills a turn's prompt, the token budget and eviction, cross-session memory.
- [Workflows](https://raw.githubusercontent.com/guizaols/insika/main/docs/WORKFLOWS.md): deterministic orchestration of several agents — the five agentic-workflow patterns (sequential, routing, parallel fan-out/fan-in, evaluator-optimizer, orchestrator-workers), schema-validated I/O, durable runs, and when to let the model choose instead.
- [Channels](https://raw.githubusercontent.com/guizaols/insika/main/docs/CHANNELS.md): how people reach the agent — the two channels that ship with the engine: the web widget (one `