MAQPNA

Developers

Build agents you can trust in production.

Write your agent with any framework. MAQPNA checks every tool and model call against your policy, asks a person when a rule says so, and records the result. The same code runs on your laptop and in the cluster.

1. Install the CLI

More install options
curl -fsSL https://maqpna.com/install.sh | sh

2. Run it locally

Three commands. A governed agent.

maqpna dev up starts the identity broker, the gateway with a starter policy, an audit ledger and a test tool server on your machine.

real output of the maqpna CLI
maqpna dev up
local MAQPNA is up (/home/you/project/.maqpna)
  gateway   http://127.0.0.1:8080
  broker    http://127.0.0.1:8081
  mcp       echo -> http://127.0.0.1:8090/mcp
next: maqpna dev run -- <your agent command>
maqpna dev run -- python agent.py
maqpna dev timeline --last
TIME      KIND       SERVER/TOOL           DECISION  DETAIL
14:05:09  tool_call  echo/echo             allow     matched rule read-only-tools
14:05:11  tool_call  echo/delete_resource  deny      system namespaces are off-limits to agents

3. Add the SDK

Python and TypeScript. Or plain HTTP.

The SDKs read the session token MAQPNA gives your agent and turn decisions into typed results. Any MCP or HTTP client works too.

LanguageInstallDocs
Python 3.10+pip install kosa8-maqpnaPython SDK
TypeScript, Node 20.3+npm install @kosa8/maqpnaTypeScript SDK
Framework adapterspip install "kosa8-maqpna[langgraph]"
also langchain, openai-agents, claude-agent-sdk, crewai
Adapters
GoNot published yet. Ask us for access.Go SDK
Any languageHTTP and MCP to the gatewayGateway API
  • MCP
  • A2A
  • LangGraph
  • LangChain
  • OpenAI Agents SDK
  • Claude Agent SDK
  • CrewAI
  • Vercel AI SDK
  • OpenAI-compatible models

Developer guide

Step by step, from first call to deploy.

All developer guides

Tutorials

Build something real, from an empty folder.

All tutorials

Reference

Every endpoint, field and command.

Kosa8 Labs stack

Add local models and microVMs. Keep one audit trail.

MAQPNA works with any OpenAI-compatible model and any Kubernetes sandbox. With llamay and kosa8, also from Kosa8 Labs, each session gets its own model context and a microVM you can fork.

FAQ

Developer questions

Something else? [email protected]

Do I need Kubernetes to develop?

No. maqpna dev up runs on macOS, Linux and Windows. You need Kubernetes only to run agents in production.

Do I have to use the SDK?

No. Any MCP client or HTTP client can call the gateway. The SDKs add typed results and handle approvals for you.

Do I need an API key or a GPU?

No. The local setup includes a test tool server, and llamay can serve a small model on a laptop CPU.

Does my code change between laptop and cluster?

No. The SDKs read the same environment in both places. You move policies and agents as Kubernetes resources.

Your first governed call in five minutes.

No Kubernetes, GPU or API key. One command starts a local MAQPNA.

More install options
curl -fsSL https://maqpna.com/install.sh | sh