Observed since 20 Oct, 21:20 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Parse existing systems into Agent Integration Kits: a Claude-controllable tool layer for APIs, databases, GraphQL, and jobs.
AgentBridge automatically parses existing projects and systems into a versioned tool layer controllable by Claude Agent chat. It discovers system evidence, normalizes it into capabilities, packages those capabilities as an Agent Integration Kit, and exposes the kit through Claude Agent SDK, MCP, terminal chat, and Web Chat.
Existing project/system
-> parse project/API/DB/GraphQL/job evidence
-> normalized capabilities
-> Agent Integration Kit
-> Claude Agent SDK / MCP / Web Chat
-> controlled APIs / DB / GraphQL / background jobs
agentbridge-kit/v1 contract containing capabilities, tools, prompts, skills, schemas, guardrails, dry-run plans, client configs, and tests.Runtime adapters now cover HTTP/OpenAPI, GraphQL POST operations, SQLite read-only SQL SELECT tools, gRPC via grpcurl, and explicit Python plugin dry-run/execute hooks. Dry-run remains the default for every transport.
pip install "agbr[agent]"
Project analysis and agentbridge enhance require:
export ANTHROPIC_API_KEY="..."
Optional Anthropic-compatible endpoint:
export ANTHROPIC_BASE_URL="https://api.example.com/anthropic"
export ANTHROPIC_MODEL="your-model"
Analyze a project directory with Claude Agent SDK:
agentbridge generate ./my-system \
--output .agentbridge/my-system-kit \
--analysis-mode agentic
For schema-only deterministic generation:
agentbridge generate ./openapi.json \
--output .agentbridge/openapi-kit \
--no-ai
Validate the result:
agentbridge validate .agentbridge/my-system-kit
Re-analyze the current project and update the existing kit in place:
agentbridge enhance .agentbridge/my-system-kit ./my-system
This command always uses Claude Agent SDK. Existing AI-inferred capabilities are retained as a baseline, current project evidence is rescanned, duplicate operations are consolidated, and changed or new capabilities are regenerated.
Use --resume to reuse valid batch checkpoints:
agentbridge enhance .agentbridge/my-system-kit ./my-system --resume
agentbridge web .agentbridge/my-system-kit --port 8765
Open the printed URL. The Web UI acts as a Claude Agent chat control surface over the parsed system capabilities and supports:
/run commands and required parameters.Real-system mode still enforces generated guardrails and confirmation requirements.
Runtime credentials can be supplied when starting the server:
agentbridge web .agentbridge/my-system-kit \
--base-url http://localhost:8080 \
--bearer-env API_TOKEN \
--execute
Web Chat stores the selected Base URL in <kit>/.agentbridge-runtime.json so reopening the same kit restores the target. When Save login is enabled and a real-system login call uses username/password arguments or returns access_token, token, jwt, an Authorization header, or Set-Cookie, Web Chat stores the runtime credentials in the same local state file. Multiple login accounts can be saved per kit; the Web UI exposes a saved-account selector plus add/edit/delete controls, and only sends the selected account id back to the server during normal chat turns. If a generated HTTP tool receives HTTP 401 with a token-expired response, AgentBridge refreshes authentication once with the selected saved account before retrying the original tool. This file is ignored by git and is not part of the generated kit protocol.
The Web Chat server prints concise request, stream, permission, and error logs to the terminal. Sensitive values such as passwords, tokens, cookies, and API keys are redacted.
agentbridge chat .agentbridge/my-system-kit
Useful commands:
/tools
/use
/run <tool> key=value
/mode dry-run
/mode execute http://localhost:8080
/connect http://localhost:8080
/usage
/history
/use provides numbered tool selection and prompts for required parameters. High-risk operations provide an explicit Authorize/Cancel choice.
Expose the generated Agent Integration Kit as MCP tools.
Dry-run:
agentbridge serve .agentbridge/my-system-kit
Real HTTP execution:
agentbridge serve .agentbridge/my-system-kit \
--base-url http://localhost:8080 \
--bearer-env API_TOKEN \
--execute
GraphQL, SQL, and gRPC tools use transport-specific runtime targets:
agentbridge serve .agentbridge/my-system-kit \
--graphql-endpoint http://localhost:8080/graphql \
--database-url sqlite:///tmp/app.db \
--grpc-target 127.0.0.1:50051 \
--execute
Generate client configuration:
agentbridge mcp-config .agentbridge/my-system-kit --write
.agentbridge-runtime.json), which should stay out of version control.| Command | Purpose |
|---|---|
discover <paths> | Print deterministic candidate capabilities |
generate <paths> -o <kit> | Generate a Claude-controllable Agent Integration Kit |
enhance <kit> <paths> | Re-analyze and update an existing kit with Claude Agent SDK |
validate <kit> | Validate kit protocol and safety contracts |
doctor <kit> | Check runtime readiness |
web <kit> | Start browser chat over the tool layer |
chat <kit> | Start terminal chat over the tool layer |
serve <kit> | Expose the kit as a stdio MCP server |
dry-run <kit> <tool> | Preview one tool invocation |
mcp-config <kit> | Generate MCP client configuration |
PYTHONPATH=src python -m unittest discover -s tests
PYTHONPATH=src python -m compileall src tests
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.5.1 | 29 Jun 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:20 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:bb10049dda974b316117535db172bebe4754f68d8736b2aea9d840b02a0e4df3