Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.

Add Decision Anchor MCP integration example#367

Open
zse4321 wants to merge 2 commits into
crewAIInc:mainfrom
zse4321:add-decision-anchor-example
Open

Add Decision Anchor MCP integration example#367
zse4321 wants to merge 2 commits into
crewAIInc:mainfrom
zse4321:add-decision-anchor-example

Conversation

@zse4321

@zse4321 zse4321 commented Apr 6, 2026

Copy link
Copy Markdown

Summary

  • Add an integration example showing how to use MCPServerAdapter with Decision Anchor's remote MCP server
  • Decision Anchor provides external accountability proof for agent payments, delegation, and disputes via MCP
  • The example creates a CrewAI agent that registers on DA, creates a Decision Declaration (DD), and reports the anchored timestamp
  • No API key required for DA — agents register via MCP tools and receive Trial 500 DAC / 30 days

Files

  • integrations/decision_anchor_mcp/main.py — main example using MCPServerAdapter with streamable HTTP transport
  • integrations/decision_anchor_mcp/README.md — setup and usage instructions
  • integrations/decision_anchor_mcp/requirements.txt — dependencies
  • integrations/README.md — updated index with DA entry

Test plan

  • Python syntax validated (ast.parse)
  • ruff check passes
  • Manual run with OPENAI_API_KEY set: python main.py

zse4321 and others added 2 commits April 6, 2026 09:44
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Decision Anchor's core records only the formal shape of a decision
(enums for type, action, and scope) — never its content or rationale.
The previous task prompt instructed the agent to pass a free-text
summary, which the core does not store, and a register name parameter
the endpoint does not accept. Replaced the summary with the structured
content-inclusion template (decision_class 'delegation', target_class
'subagent', decision_trigger 'delegated'), which is the supported way
to record what kind of decision was anchored.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant