Skip to content

Repository files navigation

AgentPlat

AgentPlat

Build applications where humans and agents work together, with persistent state, approvals, and controlled execution on your own infrastructure.

AgentPlat is an open-source TypeScript framework for persistent human-agent collaboration, with shared artifacts, human approvals and controlled execution on your infrastructure. AgentPlat Agent Rooms give your application participants, messages, tasks, versioned artifacts and human contributions. Apache-2.0 licensed public adapters let you choose models, storage and execution infrastructure.

Website · Documentation · GitHub

Developer preview: APIs may change between prereleases. Implementation, distribution and operational evidence are separate. See component maturity.

A concrete use case

Build an internal proposal workflow: one agent researches, another drafts, and a person requests changes and approves the result. Persist the artifacts and decisions, then recover interrupted coordination using the same work identities.

AgentPlat supplies the work model and integration boundaries. Your application supplies business logic, UI, verified identity, policy and external connectors. Hosting and model usage remain your responsibility.

First execution

Requirements: Node.js 22.13+, pnpm (via Corepack), and Git. This example needs no model key, database or external inference.

git clone https://github.com/Agentplat/agentplat.git
cd agentplat
corepack pnpm install --frozen-lockfile
corepack pnpm run example:quick

Expected output: Hello from the deterministic AgentPlat quick run. This execution is ephemeral; it does not persist a Room or enforce Room approvals.

Connect a real model when you are ready to make explicit provider calls.

Choose your next step

When to use AgentPlat and alternatives · Evidence for adopters

Need Start here Infrastructure
A model call or bounded session First execution Node.js; model endpoint optional
Internal platforms with durable work and human review Persistent human-agent collaboration PostgreSQL; Docker or local Node.js
Coordination between independent agent processes Distributed coordination PostgreSQL and local HTTP peers

For the recommended collaboration path:

cd examples/rooms-api
cp .env.example .env
docker compose up --build -d
node scripts/proposal-demo.mjs

The guided demo prints the Room ID, research and proposal artifacts, a human revision decision, the approved version and event history. The default provider is deterministic and makes no external model calls.

Architecture

Agent Rooms → Collective Runtime → Agent Mesh
persistent    planning and         authenticated
human work    coordination         peer coordination
        ↘ policy, trust, inference controls and audit ↙
                  replaceable adapters

Use only the layers your application needs. PostgreSQL, model runtimes, event delivery, tools and authentication are public integration boundaries.

A2A and Agent Registry integration · Architecture · Advanced capability catalog · Specification · Package facade

Maturity and integration guarantees

Use the component maturity matrix to distinguish source availability, distribution checks, integration tests and bounded operational evidence. Consult release channels before selecting npm versions.

Controls must be connected to the execution path. Protected action checkpoints are opt-in in the current library release. External effect idempotency and verified identity remain application responsibilities. Follow the integration guide.

No source-completion or simulator result implies general production readiness. The AgentPlat Evidence Boundary preserves those distinctions.

Contributing

Start with CONTRIBUTING.md for a first contribution, adapter example and focused checks.

corepack pnpm run build
corepack pnpm run type-check
corepack pnpm run test:unit
corepack pnpm run check

Coding agents: read AGENTS.md, AI.md and detailed context. Public distribution uses the package allowlist.

License and attribution

Code: Apache-2.0. Brand assets: trademark guidelines. Technical architecture designed by Grishen. Agent Rooms originated in Douglas Rodriguez's conceptual framework paper.

Open the relocated capability and package catalog.

About

Open-source TypeScript framework for persistent human-agent collaboration, with shared artifacts, human approvals and controlled execution on your infrastructure.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages