Manifest reference
agent-manifest.v3.json is the contract between an
agent and the Konstera platform. The platform reads it to render
the catalog, enforce resource limits, wire credentials, and
apply the autonomy policy. Every agent — reference, custom, or
community — ships with one.
Schema source of truth:
schemas/agent-manifest.v3.jsonin the Konstera/sdk repo. The platform validates manifests against this schema on upload.
Minimal example#
{
"$schema": "https://schemas.konstera.ai/agent-manifest.v3.json",
"id": "hello-world",
"version": "0.1.0",
"name": "Hello World",
"description": "Greets the customer by name.",
"runtime": {
"kind": "container",
"image": "ghcr.io/your-org/hello-world:0.1.0"
},
"input": { "type": "object", "properties": { "name": { "type": "string" } } },
"autonomy": "autonomous",
"needs": ["llm"]
}
Required fields#
| Field | Type | Notes |
|---|---|---|
id | string | Globally unique within the tenant. kebab-case, max 64 chars. |
version | semver string | Immutable per upload — new version = new upload. |
name | string | Shown in the catalog + reviewer inbox. |
runtime | object | How the kernel runs this agent. See below. |
input | JSON Schema | Accepted invocation payload shape. |
autonomy | enum | autonomous · require_review · require_approval. |
needs | string[] | Kernel MCP services this agent calls — llm, vector, state, credentials, etc. |
runtime#
How the kernel executes an agent. Three kinds today:
| kind | Shape | When |
|---|---|---|
container | image, optional command, env, resources | Default. OCI container, one instance per invocation. |
mcp-stdio | command, args | Local-dev shortcut. Launches an MCP process over stdio. |
mcp-http | url, optional auth | Agent runs anywhere, reachable by HTTP. For dev / integration tests. |
runtime.resources#
"runtime": {
"kind": "container",
"image": "ghcr.io/your-org/forecaster:1.2.0",
"resources": {
"cpu": "500m",
"memory": "512Mi",
"timeout": "60s"
}
}
autonomy#
Autonomy is a scope-stacked policy — the tenant admin can override the manifest's declared autonomy without redeploying the agent. The manifest declares the agent's intended default; the deployment can lower it.
| Value | What happens to the handler's result | Who decides |
|---|---|---|
autonomous | Applied directly. Still logged for audit + replay. | No one — the agent |
require_review | Lands in the reviewer inbox. Reviewer picks send / edit / redraft / reject. | A reviewer |
require_approval | Stronger than review: approval must come from a named reviewer role. | A named reviewer role (configurable per binding) |
For tier-based autonomy (small → autonomous, large → approval),
don't encode it in the manifest — use autonomy bindings on the
deployment side. The reference prepayments-agent is a worked example.
needs#
Enumerates the kernel services this agent calls. The platform uses this to pre-wire credentials, apply rate limits, and surface a clear capability footprint in the catalog.
"needs": [
"llm", // ctx.llm.*
"vector", // ctx.vector.* (pgvector or external)
"state", // ctx.state.get / set / append
"credentials", // ctx.credentials.get("stripe-api-key")
"cost", // automatic — included if "llm" is listed
"log", // ctx.log.info / warn / error
"tool", // ctx.tool.* — connector-provided tools
"agents", // ctx.agents.invoke("other-agent", ...)
"human", // ctx.human.request(...)
"prompt" // ctx.prompt.get("prompt-id")
]
Full semantics in Kernel MCP services.
What you declare is what an operator sees when deploying the agent — required capabilities, model purposes and review actions, read straight from the manifest:
Optional fields#
| Field | Type | Notes |
|---|---|---|
description | string | One-sentence catalog description. |
department | string | Catalog grouping — Finance, Customer service, Merchandising, etc. |
output | JSON Schema | Declared return shape. Validated at response time. |
schedules | object[] | Cron expressions for scheduled invocations. |
webhooks | object[] | HMAC-verified webhook endpoints that trigger this agent. |
retry | object | Backoff + max attempts. Platform defaults are usually fine. |
icon | string | Lucide icon name shown in the catalog. |
docs | string | URL for "learn more" link in the portal. |
Validation#
Platform validates on upload via the schema. CI can validate locally:
konstera manifest validate ./manifest.json
# or against a specific schema version
konstera manifest validate --schema v3 ./manifest.json
Breaking schema changes bump the v. The platform
supports two major versions concurrently to allow deprecation
windows.
A well-scoped manifest#
idis kebab-case, at most 64 chars, and unique within the tenant.versionis bumped — versions are immutable per upload.needslists only the kernel services your code actually calls (costcomes automatically withllm). See Kernel MCP services.autonomyis the intended default; tier-based rules live in deployment-side autonomy bindings, not the manifest.runtime.resourcessetscpu,memoryandtimeoutfor acontaineragent.outputis declared if callers depend on the return shape — it's validated at response time.webhooksare HMAC-verified endpoints;retryis omitted unless the platform defaults don't fit.konstera manifest validate ./manifest.jsonpasses in CI.