Skip to main content

1 of 16

What agenticspec is

Architect, simulate, optimize, evaluate and deploy agentic architectures, from one specification of building blocks.

docs/index.md

What agenticspec is

agenticspec is a model of agentic systems: the agents, models, tools, channels, sandboxes, runtimes and people they are made of, and how they connect. With it you architect a system from building blocks, simulate it, optimize it by its KPIs, evaluate real agent sessions, and deploy it. weft is the runtime that runs a deployed architecture.

Everything runs on your machine. The simulator reads no session, and the session store sends nothing anywhere.

Architect​

The building blocks specify what an agentic system is made of. Each block is a contract of commands, events and views, and depends only on blocks of lower layers. An architecture document composes blocks into one concrete setup: its parts, the links between them, the border a person reaches, and its requirements as KPI targets. agenticspec sim check refuses an architecture that breaks the specification before anything is built.

Packs hold blocks that more than one kind of work reuses. A field is one kind of work, such as coding: the packs it uses, its KPIs, its behaviour profile and its example architectures. agenticstudio opens an architecture in the browser as a draft and changes it with patches.

Simulate​

The simulator runs an architecture under the behaviour profile of a field and measures its KPIs, such as tasks done correctly, cost and the share of agent time spent waiting on the owner. agenticspec sim score simulates one architecture as written (Getting started). A scenario puts given inputs at an architecture's border, scripts the parts outside it and checks the events it expects. The KPI catalogue lists every KPI with the block it belongs to.

Optimize​

An architecture marks with vary the values a search may change. An experiment (agenticspec sim run) simulates the variants, exhaustively or by fitting, ranks them by their requirements and a weighted sum of KPIs, and writes the best one. The catalog shows each experiment's result and compares all architectures by the KPIs of their documents. The agentic ladder grows one architecture rung by rung. A search changes values only; it does not add or remove parts or links.

Evaluate​

agenticspec lifts the transcripts of real agent sessions into one typed record of who did what, redacts secrets, and stores the result in a local SQLite file. It reads Claude Code transcripts from ~/.claude/projects. KPIs, queries, pattern mining and the dashboard read that store.

you want to knowrunpage
how your sessions went over the last days, at a glanceagenticspec serve, then open http://127.0.0.1:7420/Dashboard
the same as one file you can keep or shareagenticspec analyzeDashboard
the figures as JSONagenticspec kpiKPIs
which sessions show a pattern, such as a refused call asked for againagenticspec queryQueries
which runs of tool calls repeat across your sessionsagenticspec minePatterns
a repeated run as a draft procedure an executor can runagenticspec procedure, then agenticspec exportPatterns

A session also connects to the model. agenticspec blocks lift writes a session as rows of the building blocks (Queries), and a task corpus of inputs from real sessions sets the simulator's prediction beside the outcome each one had (Scenarios). Privacy says what the store holds; the records library appends records from your own program, such as an LLM gateway.

Deploy​

The contract of an architecture lists the ports a runtime implements for it, derived from the building blocks. A binding says which concrete thing plays each part on one target and packs the parts into units. agenticspec deploy bundle admits the architecture, its contract and the binding together and writes one deployment bundle (Deploying an architecture). A translator turns the bundle into its target's architecture, and weft runs it. agenticspec writes the bundle; it runs no translator and no target.

Next​

Getting started: install, the first sync and dashboard, and the first check and score of an architecture.