@1claw/cli 0.37.0 → 0.37.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/dist/bundled-templates/registry.yaml +62 -0
  2. package/dist/bundled-templates/templates/agentkit/Dockerfile +28 -0
  3. package/dist/bundled-templates/templates/agentkit/README.md +36 -0
  4. package/dist/bundled-templates/templates/agentkit/agent.py +83 -0
  5. package/dist/bundled-templates/templates/agentkit/entrypoint.sh +34 -0
  6. package/dist/bundled-templates/templates/agentkit/requirements.txt +5 -0
  7. package/dist/bundled-templates/templates/agentkit/template.yaml +24 -0
  8. package/dist/bundled-templates/templates/agno/Dockerfile +28 -0
  9. package/dist/bundled-templates/templates/agno/README.md +36 -0
  10. package/dist/bundled-templates/templates/agno/agent.py +86 -0
  11. package/dist/bundled-templates/templates/agno/entrypoint.sh +34 -0
  12. package/dist/bundled-templates/templates/agno/requirements.txt +2 -0
  13. package/dist/bundled-templates/templates/agno/template.yaml +24 -0
  14. package/dist/bundled-templates/templates/coder/Dockerfile +28 -0
  15. package/dist/bundled-templates/templates/coder/README.md +36 -0
  16. package/dist/bundled-templates/templates/coder/agent.py +119 -0
  17. package/dist/bundled-templates/templates/coder/entrypoint.sh +34 -0
  18. package/dist/bundled-templates/templates/coder/requirements.txt +4 -0
  19. package/dist/bundled-templates/templates/coder/template.yaml +24 -0
  20. package/dist/bundled-templates/templates/crewai/Dockerfile +28 -0
  21. package/dist/bundled-templates/templates/crewai/README.md +29 -0
  22. package/dist/bundled-templates/templates/crewai/agent.py +109 -0
  23. package/dist/bundled-templates/templates/crewai/entrypoint.sh +34 -0
  24. package/dist/bundled-templates/templates/crewai/requirements.txt +3 -0
  25. package/dist/bundled-templates/templates/crewai/template.yaml +24 -0
  26. package/dist/bundled-templates/templates/elizaos/Dockerfile +31 -0
  27. package/dist/bundled-templates/templates/elizaos/README.md +36 -0
  28. package/dist/bundled-templates/templates/elizaos/agent.ts +100 -0
  29. package/dist/bundled-templates/templates/elizaos/entrypoint.sh +34 -0
  30. package/dist/bundled-templates/templates/elizaos/package.json +18 -0
  31. package/dist/bundled-templates/templates/elizaos/template.yaml +25 -0
  32. package/dist/bundled-templates/templates/elizaos/tsconfig.json +12 -0
  33. package/dist/bundled-templates/templates/langchain/Dockerfile +28 -0
  34. package/dist/bundled-templates/templates/langchain/README.md +37 -0
  35. package/dist/bundled-templates/templates/langchain/agent.py +115 -0
  36. package/dist/bundled-templates/templates/langchain/entrypoint.sh +36 -0
  37. package/dist/bundled-templates/templates/langchain/requirements.txt +4 -0
  38. package/dist/bundled-templates/templates/langchain/template.yaml +24 -0
  39. package/dist/bundled-templates/templates/llamaindex/Dockerfile +28 -0
  40. package/dist/bundled-templates/templates/llamaindex/README.md +36 -0
  41. package/dist/bundled-templates/templates/llamaindex/agent.py +97 -0
  42. package/dist/bundled-templates/templates/llamaindex/entrypoint.sh +34 -0
  43. package/dist/bundled-templates/templates/llamaindex/requirements.txt +3 -0
  44. package/dist/bundled-templates/templates/llamaindex/template.yaml +24 -0
  45. package/dist/bundled-templates/templates/mastra/Dockerfile +31 -0
  46. package/dist/bundled-templates/templates/mastra/README.md +31 -0
  47. package/dist/bundled-templates/templates/mastra/agent.ts +112 -0
  48. package/dist/bundled-templates/templates/mastra/entrypoint.sh +34 -0
  49. package/dist/bundled-templates/templates/mastra/package.json +17 -0
  50. package/dist/bundled-templates/templates/mastra/template.yaml +25 -0
  51. package/dist/bundled-templates/templates/mastra/tsconfig.json +12 -0
  52. package/dist/bundled-templates/templates/openai-agents/Dockerfile +28 -0
  53. package/dist/bundled-templates/templates/openai-agents/README.md +29 -0
  54. package/dist/bundled-templates/templates/openai-agents/agent.py +98 -0
  55. package/dist/bundled-templates/templates/openai-agents/entrypoint.sh +34 -0
  56. package/dist/bundled-templates/templates/openai-agents/requirements.txt +3 -0
  57. package/dist/bundled-templates/templates/openai-agents/template.yaml +24 -0
  58. package/dist/bundled-templates/templates/pydantic-ai/Dockerfile +28 -0
  59. package/dist/bundled-templates/templates/pydantic-ai/README.md +36 -0
  60. package/dist/bundled-templates/templates/pydantic-ai/agent.py +110 -0
  61. package/dist/bundled-templates/templates/pydantic-ai/entrypoint.sh +34 -0
  62. package/dist/bundled-templates/templates/pydantic-ai/requirements.txt +2 -0
  63. package/dist/bundled-templates/templates/pydantic-ai/template.yaml +24 -0
  64. package/dist/bundled-templates/templates/smolagents/Dockerfile +28 -0
  65. package/dist/bundled-templates/templates/smolagents/README.md +36 -0
  66. package/dist/bundled-templates/templates/smolagents/agent.py +97 -0
  67. package/dist/bundled-templates/templates/smolagents/entrypoint.sh +34 -0
  68. package/dist/bundled-templates/templates/smolagents/requirements.txt +2 -0
  69. package/dist/bundled-templates/templates/smolagents/template.yaml +24 -0
  70. package/dist/bundled-templates/templates/typescript-sdk/Dockerfile +31 -0
  71. package/dist/bundled-templates/templates/typescript-sdk/README.md +29 -0
  72. package/dist/bundled-templates/templates/typescript-sdk/agent.ts +130 -0
  73. package/dist/bundled-templates/templates/typescript-sdk/entrypoint.sh +34 -0
  74. package/dist/bundled-templates/templates/typescript-sdk/package.json +17 -0
  75. package/dist/bundled-templates/templates/typescript-sdk/template.yaml +25 -0
  76. package/dist/bundled-templates/templates/typescript-sdk/tsconfig.json +12 -0
  77. package/dist/src/commands/init.d.ts.map +1 -1
  78. package/dist/src/commands/init.js +6 -1
  79. package/dist/src/commands/init.js.map +1 -1
  80. package/dist/src/commands/spawn.d.ts.map +1 -1
  81. package/dist/src/commands/spawn.js +5 -1
  82. package/dist/src/commands/spawn.js.map +1 -1
  83. package/dist/src/lib/module-deprecation.d.ts +8 -0
  84. package/dist/src/lib/module-deprecation.d.ts.map +1 -0
  85. package/dist/src/lib/module-deprecation.js +15 -0
  86. package/dist/src/lib/module-deprecation.js.map +1 -0
  87. package/dist/src/lib/paths.d.ts +5 -4
  88. package/dist/src/lib/paths.d.ts.map +1 -1
  89. package/dist/src/lib/paths.js +27 -13
  90. package/dist/src/lib/paths.js.map +1 -1
  91. package/dist/src/registry.yaml +62 -0
  92. package/dist/src/templates/agentkit/Dockerfile +34 -0
  93. package/dist/src/templates/agentkit/README.md +36 -0
  94. package/dist/src/templates/agentkit/agent.py +83 -0
  95. package/dist/src/templates/agentkit/entrypoint.sh +34 -0
  96. package/dist/src/templates/agentkit/requirements.txt +5 -0
  97. package/dist/src/templates/agentkit/template.yaml +24 -0
  98. package/dist/src/templates/agno/Dockerfile +34 -0
  99. package/dist/src/templates/agno/README.md +36 -0
  100. package/dist/src/templates/agno/agent.py +86 -0
  101. package/dist/src/templates/agno/entrypoint.sh +34 -0
  102. package/dist/src/templates/agno/requirements.txt +2 -0
  103. package/dist/src/templates/agno/template.yaml +24 -0
  104. package/dist/src/templates/coder/Dockerfile +34 -0
  105. package/dist/src/templates/coder/README.md +36 -0
  106. package/dist/src/templates/coder/agent.py +119 -0
  107. package/dist/src/templates/coder/entrypoint.sh +34 -0
  108. package/dist/src/templates/coder/requirements.txt +4 -0
  109. package/dist/src/templates/coder/template.yaml +24 -0
  110. package/dist/src/templates/crewai/Dockerfile +34 -0
  111. package/dist/src/templates/crewai/README.md +29 -0
  112. package/dist/src/templates/crewai/agent.py +109 -0
  113. package/dist/src/templates/crewai/entrypoint.sh +34 -0
  114. package/dist/src/templates/crewai/requirements.txt +3 -0
  115. package/dist/src/templates/crewai/template.yaml +24 -0
  116. package/dist/src/templates/elizaos/Dockerfile +31 -0
  117. package/dist/src/templates/elizaos/README.md +36 -0
  118. package/dist/src/templates/elizaos/agent.ts +100 -0
  119. package/dist/src/templates/elizaos/entrypoint.sh +34 -0
  120. package/dist/src/templates/elizaos/package.json +18 -0
  121. package/dist/src/templates/elizaos/template.yaml +25 -0
  122. package/dist/src/templates/elizaos/tsconfig.json +12 -0
  123. package/dist/src/templates/fetcher.d.ts.map +1 -1
  124. package/dist/src/templates/fetcher.js +34 -15
  125. package/dist/src/templates/fetcher.js.map +1 -1
  126. package/dist/src/templates/langchain/Dockerfile +34 -0
  127. package/dist/src/templates/langchain/README.md +37 -0
  128. package/dist/src/templates/langchain/agent.py +115 -0
  129. package/dist/src/templates/langchain/entrypoint.sh +36 -0
  130. package/dist/src/templates/langchain/requirements.txt +4 -0
  131. package/dist/src/templates/langchain/template.yaml +24 -0
  132. package/dist/src/templates/llamaindex/Dockerfile +34 -0
  133. package/dist/src/templates/llamaindex/README.md +36 -0
  134. package/dist/src/templates/llamaindex/agent.py +97 -0
  135. package/dist/src/templates/llamaindex/entrypoint.sh +34 -0
  136. package/dist/src/templates/llamaindex/requirements.txt +3 -0
  137. package/dist/src/templates/llamaindex/template.yaml +24 -0
  138. package/dist/src/templates/mastra/Dockerfile +31 -0
  139. package/dist/src/templates/mastra/README.md +31 -0
  140. package/dist/src/templates/mastra/agent.ts +112 -0
  141. package/dist/src/templates/mastra/entrypoint.sh +34 -0
  142. package/dist/src/templates/mastra/package.json +17 -0
  143. package/dist/src/templates/mastra/template.yaml +25 -0
  144. package/dist/src/templates/mastra/tsconfig.json +12 -0
  145. package/dist/src/templates/openai-agents/Dockerfile +34 -0
  146. package/dist/src/templates/openai-agents/README.md +29 -0
  147. package/dist/src/templates/openai-agents/agent.py +98 -0
  148. package/dist/src/templates/openai-agents/entrypoint.sh +34 -0
  149. package/dist/src/templates/openai-agents/requirements.txt +3 -0
  150. package/dist/src/templates/openai-agents/template.yaml +24 -0
  151. package/dist/src/templates/pydantic-ai/Dockerfile +34 -0
  152. package/dist/src/templates/pydantic-ai/README.md +36 -0
  153. package/dist/src/templates/pydantic-ai/agent.py +110 -0
  154. package/dist/src/templates/pydantic-ai/entrypoint.sh +34 -0
  155. package/dist/src/templates/pydantic-ai/requirements.txt +2 -0
  156. package/dist/src/templates/pydantic-ai/template.yaml +24 -0
  157. package/dist/src/templates/smolagents/Dockerfile +34 -0
  158. package/dist/src/templates/smolagents/README.md +36 -0
  159. package/dist/src/templates/smolagents/agent.py +97 -0
  160. package/dist/src/templates/smolagents/entrypoint.sh +34 -0
  161. package/dist/src/templates/smolagents/requirements.txt +2 -0
  162. package/dist/src/templates/smolagents/template.yaml +24 -0
  163. package/dist/src/templates/typescript-sdk/Dockerfile +31 -0
  164. package/dist/src/templates/typescript-sdk/README.md +29 -0
  165. package/dist/src/templates/typescript-sdk/agent.ts +130 -0
  166. package/dist/src/templates/typescript-sdk/entrypoint.sh +34 -0
  167. package/dist/src/templates/typescript-sdk/package.json +17 -0
  168. package/dist/src/templates/typescript-sdk/template.yaml +25 -0
  169. package/dist/src/templates/typescript-sdk/tsconfig.json +12 -0
  170. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"paths.js","sourceRoot":"","sources":["../../../src/lib/paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,wEAAwE;AACxE,6EAA6E;AAC7E,EAAE;AACF,mEAAmE;AACnE,0EAA0E;AAC1E,MAAM,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AACrD,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACjC,MAAM,UAAU,GACZ,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;AAE1E,0DAA0D;AAC1D,MAAM,UAAU,iBAAiB;IAC7B,OAAO,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;AAC3C,CAAC;AAED,qDAAqD;AACrD,MAAM,UAAU,kBAAkB;IAC9B,OAAO,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,CAAC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AU,WAAW,CAAC,IAAY;IACpC,OAAO,UAAU,CAAC,IAAI,CAAC,CAAC;AAC5B,CAAC"}
@@ -0,0 +1,62 @@
1
+ version: 1
2
+ templates:
3
+ - name: langchain
4
+ display_name: "LangChain / LangGraph"
5
+ version: 1.0.0
6
+ language: python
7
+ description: "Python agent using LangChain with 1Claw MCP for secrets and signing"
8
+ - name: crewai
9
+ display_name: "CrewAI"
10
+ version: 1.0.0
11
+ language: python
12
+ description: "Multi-agent crew with 1Claw-managed secrets"
13
+ - name: openai-agents
14
+ display_name: "OpenAI Agents SDK"
15
+ version: 1.0.0
16
+ language: python
17
+ description: "OpenAI Agents SDK with tool calling and 1Claw MCP integration"
18
+ - name: elizaos
19
+ display_name: "ElizaOS"
20
+ version: 1.0.0
21
+ language: node
22
+ description: "ElizaOS character runtime with vault-backed secrets"
23
+ - name: agentkit
24
+ display_name: "Coinbase AgentKit"
25
+ version: 1.0.0
26
+ language: python
27
+ description: "Coinbase AgentKit for onchain agents with 1Claw key management"
28
+ - name: smolagents
29
+ display_name: "HuggingFace smolagents"
30
+ version: 1.0.0
31
+ language: python
32
+ description: "HuggingFace lightweight agents with 1Claw secrets"
33
+ - name: llamaindex
34
+ display_name: "LlamaIndex"
35
+ version: 1.0.0
36
+ language: python
37
+ description: "LlamaIndex agent with tool integration and 1Claw MCP"
38
+ - name: pydantic-ai
39
+ display_name: "Pydantic AI"
40
+ version: 1.0.0
41
+ language: python
42
+ description: "Type-safe Python agent with structured output"
43
+ - name: agno
44
+ display_name: "Agno"
45
+ version: 1.0.0
46
+ language: python
47
+ description: "Agno multi-modal agent with 1Claw secrets"
48
+ - name: mastra
49
+ display_name: "Mastra"
50
+ version: 1.0.0
51
+ language: node
52
+ description: "TypeScript-first AI agent framework"
53
+ - name: typescript-sdk
54
+ display_name: "TypeScript SDK"
55
+ version: 1.0.0
56
+ language: node
57
+ description: "Plain TypeScript agent using @1claw/sdk with Shroud LLM routing"
58
+ - name: coder
59
+ display_name: "Coder"
60
+ version: 1.0.0
61
+ language: python
62
+ description: "Coder workspace automation agent"
@@ -0,0 +1,34 @@
1
+ FROM python:3.12-slim
2
+
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ curl tini && \
5
+ rm -rf /var/lib/apt/lists/*
6
+
7
+ WORKDIR /app
8
+
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ RUN pip install --no-cache-dir 1claw-mcp 2>/dev/null || \
13
+ (apt-get update && apt-get install -y --no-install-recommends nodejs npm && \
14
+ npm install -g @1claw/mcp@latest && \
15
+ rm -rf /var/lib/apt/lists/*) || \
16
+ echo "WARN: 1claw-mcp install deferred to runtime"
17
+
18
+ COPY agent.py .
19
+ COPY entrypoint.sh .
20
+ RUN chmod +x entrypoint.sh
21
+
22
+ RUN mkdir -p /run/1claw
23
+
24
+ ENV NODE_ENV=production
25
+ ENV ONECLAW_DAEMON_SOCKET=/run/1claw/daemon.sock
26
+ ENV ONECLAW_FRAMEWORK=agentkit
27
+
28
+ EXPOSE 3000
29
+
30
+ HEALTHCHECK --interval=10s --timeout=3s --start-period=10s --retries=5 \
31
+ CMD curl -sf http://localhost:3000/health || exit 1
32
+
33
+ ENTRYPOINT ["tini", "--"]
34
+ CMD ["./entrypoint.sh"]
@@ -0,0 +1,36 @@
1
+ # Coinbase AgentKit Template
2
+
3
+ A Python agent using [Coinbase AgentKit](https://github.com/coinbase/agentkit) for onchain operations with 1Claw key management.
4
+
5
+ ## Quick start
6
+
7
+ ```bash
8
+ 1claw spawn agentkit
9
+ ```
10
+
11
+ Or with your own API key:
12
+
13
+ ```bash
14
+ 1claw spawn agentkit --llm-api-key sk-...
15
+ ```
16
+
17
+ ## What's included
18
+
19
+ - **agent.py** — AgentKit-powered LangGraph agent with onchain tools
20
+ - **Flask server** on port 3000 with `/chat` and `/health` endpoints
21
+ - **Shroud integration** — LLM calls are routed through Shroud for inspection
22
+ - **MCP server** — started automatically for tool access to 1Claw vault
23
+
24
+ ## Customizing
25
+
26
+ Edit `agent.py` to configure AgentKit actions (deploy tokens, transfer,
27
+ check balances, etc.). Set CDP API credentials via the 1Claw vault for
28
+ Coinbase Developer Platform integration.
29
+
30
+ ## LLM authentication
31
+
32
+ The template supports three methods (configured at spawn time):
33
+
34
+ 1. **BYOK** — `1claw spawn agentkit --llm-api-key sk-...`
35
+ 2. **Token Billing** — enable in Dashboard, no key needed
36
+ 3. **Anthropic WIF** — OIDC federation for Anthropic models
@@ -0,0 +1,83 @@
1
+ """
2
+ Coinbase AgentKit agent pre-wired with 1Claw MCP for secrets and signing.
3
+
4
+ LLM calls are routed through Shroud when ONECLAW_LLM_VIA_SHROUD is set.
5
+ The container never sees raw API keys — they are injected by the host daemon.
6
+ """
7
+
8
+ import os
9
+ from flask import Flask, request, jsonify
10
+ from langchain_openai import ChatOpenAI
11
+ from coinbase_agentkit import AgentKit, AgentKitConfig
12
+ from coinbase_agentkit_langchain import get_langchain_tools
13
+ from langgraph.prebuilt import create_react_agent
14
+
15
+ app = Flask(__name__)
16
+
17
+ SHROUD_URL = os.environ.get("ONECLAW_SHROUD_URL", "https://shroud.1claw.xyz")
18
+ LLM_VIA_SHROUD = os.environ.get("ONECLAW_LLM_VIA_SHROUD", "").lower() == "true"
19
+ MODEL = os.environ.get("ONECLAW_SHROUD_MODEL", "gpt-4o-mini")
20
+
21
+
22
+ def create_agent():
23
+ """Build an AgentKit-powered LangGraph agent. Returns None if no LLM."""
24
+ if not LLM_VIA_SHROUD:
25
+ return None
26
+
27
+ llm = ChatOpenAI(
28
+ model=MODEL,
29
+ base_url=f"{SHROUD_URL}/v1",
30
+ api_key="shroud-injected",
31
+ )
32
+
33
+ agentkit = AgentKit(AgentKitConfig())
34
+ tools = get_langchain_tools(agentkit)
35
+ return create_react_agent(llm, tools=tools)
36
+
37
+
38
+ agent_executor = create_agent()
39
+
40
+
41
+ @app.route("/health")
42
+ def health():
43
+ return jsonify({"status": "ok", "framework": "agentkit", "llm_wired": LLM_VIA_SHROUD})
44
+
45
+
46
+ @app.route("/chat", methods=["POST"])
47
+ def chat():
48
+ data = request.get_json(silent=True) or {}
49
+ message = data.get("message", "").strip()
50
+ if not message:
51
+ return jsonify({"error": "No message provided"}), 400
52
+
53
+ if not agent_executor:
54
+ return jsonify({
55
+ "response": "No LLM configured. Use --llm-api-key or enable Token Billing.",
56
+ "framework": "agentkit",
57
+ })
58
+
59
+ try:
60
+ result = agent_executor.invoke({"messages": [{"role": "user", "content": message}]})
61
+ output = result["messages"][-1].content if result.get("messages") else str(result)
62
+ return jsonify({"response": output, "framework": "agentkit"})
63
+ except Exception as e:
64
+ return jsonify({"error": str(e)}), 500
65
+
66
+
67
+ @app.route("/")
68
+ def index():
69
+ return """<!DOCTYPE html>
70
+ <html><head><title>1Claw AgentKit Agent</title></head>
71
+ <body style="font-family:system-ui;max-width:600px;margin:40px auto;padding:0 20px">
72
+ <h1>1Claw Coinbase AgentKit</h1>
73
+ <p>Send messages via <code>POST /chat</code> with <code>{"message": "..."}</code></p>
74
+ <p>Health: <a href="/health">/health</a></p>
75
+ <p style="color:#666;font-size:0.9em">
76
+ Credentials stay in the host daemon — this container never sees secret values.
77
+ </p></body></html>"""
78
+
79
+
80
+ if __name__ == "__main__":
81
+ port = int(os.environ.get("CHAT_UI_PORT", "3000"))
82
+ print(f"AgentKit agent listening on http://0.0.0.0:{port}")
83
+ app.run(host="0.0.0.0", port=port)
@@ -0,0 +1,34 @@
1
+ #!/bin/sh
2
+ set -e
3
+
4
+ DAEMON_SOCKET="${ONECLAW_DAEMON_SOCKET:-/run/1claw/daemon.sock}"
5
+ CHAT_UI_PORT="${CHAT_UI_PORT:-3000}"
6
+
7
+ echo "─────────────────────────────────────────────"
8
+ echo " 1Claw AgentKit Agent"
9
+ echo " Framework: agentkit"
10
+ echo " Agent ID: ${ONECLAW_AGENT_ID:-not set}"
11
+
12
+ if [ -S "$DAEMON_SOCKET" ]; then
13
+ echo " Mode: ${ONECLAW_MODE:-cloud} (daemon socket)"
14
+ echo " Socket: $DAEMON_SOCKET"
15
+ else
16
+ echo " Mode: standalone (no daemon socket)"
17
+ fi
18
+ echo "─────────────────────────────────────────────"
19
+
20
+ if [ "$ONECLAW_LLM_VIA_SHROUD" = "true" ]; then
21
+ export OPENAI_BASE_URL="${ONECLAW_SHROUD_URL}/v1"
22
+ echo "LLM routed through Shroud: ${ONECLAW_SHROUD_PROVIDER}/${ONECLAW_SHROUD_MODEL}"
23
+ fi
24
+
25
+ if [ -S "$DAEMON_SOCKET" ]; then
26
+ if command -v 1claw-mcp >/dev/null 2>&1; then
27
+ ONECLAW_LOCAL_VAULT=true ONECLAW_DAEMON_SOCKET="$DAEMON_SOCKET" \
28
+ 1claw-mcp --local 2>/tmp/mcp.log &
29
+ echo "MCP server started in background."
30
+ fi
31
+ fi
32
+
33
+ echo "Ready: http://0.0.0.0:${CHAT_UI_PORT}"
34
+ exec python agent.py
@@ -0,0 +1,5 @@
1
+ coinbase-agentkit>=0.2.0
2
+ coinbase-agentkit-langchain>=0.2.0
3
+ langchain-openai>=0.2.0
4
+ langgraph>=0.2.0
5
+ flask>=3.0.0
@@ -0,0 +1,24 @@
1
+ name: agentkit
2
+ display_name: "Coinbase AgentKit"
3
+ version: 1.0.0
4
+ description: "Coinbase AgentKit for onchain agents with 1Claw key management"
5
+ author: 1Claw
6
+ language: python
7
+ homepage: https://github.com/coinbase/agentkit
8
+
9
+ docker:
10
+ base_image: python:3.12-slim
11
+ context_files:
12
+ - Dockerfile
13
+ - requirements.txt
14
+ - agent.py
15
+ - entrypoint.sh
16
+ env:
17
+ ONECLAW_FRAMEWORK: agentkit
18
+ health_endpoint: /health
19
+ health_port: 3000
20
+
21
+ post_spawn_message: |
22
+ Edit agent.py to customize your AgentKit agent's onchain capabilities.
23
+ Your 1Claw MCP server is available at the daemon socket.
24
+ LLM calls are routed through Shroud for inspection and redaction.
@@ -0,0 +1,34 @@
1
+ FROM python:3.12-slim
2
+
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ curl tini && \
5
+ rm -rf /var/lib/apt/lists/*
6
+
7
+ WORKDIR /app
8
+
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ RUN pip install --no-cache-dir 1claw-mcp 2>/dev/null || \
13
+ (apt-get update && apt-get install -y --no-install-recommends nodejs npm && \
14
+ npm install -g @1claw/mcp@latest && \
15
+ rm -rf /var/lib/apt/lists/*) || \
16
+ echo "WARN: 1claw-mcp install deferred to runtime"
17
+
18
+ COPY agent.py .
19
+ COPY entrypoint.sh .
20
+ RUN chmod +x entrypoint.sh
21
+
22
+ RUN mkdir -p /run/1claw
23
+
24
+ ENV NODE_ENV=production
25
+ ENV ONECLAW_DAEMON_SOCKET=/run/1claw/daemon.sock
26
+ ENV ONECLAW_FRAMEWORK=agno
27
+
28
+ EXPOSE 3000
29
+
30
+ HEALTHCHECK --interval=10s --timeout=3s --start-period=10s --retries=5 \
31
+ CMD curl -sf http://localhost:3000/health || exit 1
32
+
33
+ ENTRYPOINT ["tini", "--"]
34
+ CMD ["./entrypoint.sh"]
@@ -0,0 +1,36 @@
1
+ # Agno Template
2
+
3
+ A Python agent using [Agno](https://docs.agno.com) — a multi-modal agent framework — with 1Claw MCP for secrets management.
4
+
5
+ ## Quick start
6
+
7
+ ```bash
8
+ 1claw spawn agno
9
+ ```
10
+
11
+ Or with your own API key:
12
+
13
+ ```bash
14
+ 1claw spawn agno --llm-api-key sk-...
15
+ ```
16
+
17
+ ## What's included
18
+
19
+ - **agent.py** — Agno agent with OpenAI-compatible model routing
20
+ - **Flask server** on port 3000 with `/chat` and `/health` endpoints
21
+ - **Shroud integration** — LLM calls are routed through Shroud for inspection
22
+ - **MCP server** — started automatically for tool access to 1Claw vault
23
+
24
+ ## Customizing
25
+
26
+ Edit `agent.py` to add tools, configure knowledge bases, or enable
27
+ multi-modal capabilities (vision, audio). Agno supports teams of agents,
28
+ structured output, and memory.
29
+
30
+ ## LLM authentication
31
+
32
+ The template supports three methods (configured at spawn time):
33
+
34
+ 1. **BYOK** — `1claw spawn agno --llm-api-key sk-...`
35
+ 2. **Token Billing** — enable in Dashboard, no key needed
36
+ 3. **Anthropic WIF** — OIDC federation for Anthropic models
@@ -0,0 +1,86 @@
1
+ """
2
+ Agno multi-modal agent pre-wired with 1Claw MCP for secrets and signing.
3
+
4
+ LLM calls are routed through Shroud when ONECLAW_LLM_VIA_SHROUD is set.
5
+ The container never sees raw API keys — they are injected by the host daemon.
6
+ """
7
+
8
+ import os
9
+ from flask import Flask, request, jsonify
10
+ from agno.agent import Agent
11
+ from agno.models.openai import OpenAILike
12
+
13
+ app = Flask(__name__)
14
+
15
+ SHROUD_URL = os.environ.get("ONECLAW_SHROUD_URL", "https://shroud.1claw.xyz")
16
+ LLM_VIA_SHROUD = os.environ.get("ONECLAW_LLM_VIA_SHROUD", "").lower() == "true"
17
+ MODEL = os.environ.get("ONECLAW_SHROUD_MODEL", "gpt-4o-mini")
18
+
19
+
20
+ def create_agent() -> Agent | None:
21
+ """Build the Agno agent. Returns None if no LLM."""
22
+ if not LLM_VIA_SHROUD:
23
+ return None
24
+
25
+ model = OpenAILike(
26
+ id=MODEL,
27
+ api_key="shroud-injected",
28
+ base_url=f"{SHROUD_URL}/v1",
29
+ )
30
+
31
+ return Agent(
32
+ model=model,
33
+ description="A helpful AI agent running inside a secure 1Claw container.",
34
+ instructions=[
35
+ "You have access to tools for greeting and inspecting the environment.",
36
+ ],
37
+ markdown=True,
38
+ )
39
+
40
+
41
+ agent = create_agent()
42
+
43
+
44
+ @app.route("/health")
45
+ def health():
46
+ return jsonify({"status": "ok", "framework": "agno", "llm_wired": LLM_VIA_SHROUD})
47
+
48
+
49
+ @app.route("/chat", methods=["POST"])
50
+ def chat():
51
+ data = request.get_json(silent=True) or {}
52
+ message = data.get("message", "").strip()
53
+ if not message:
54
+ return jsonify({"error": "No message provided"}), 400
55
+
56
+ if not agent:
57
+ return jsonify({
58
+ "response": "No LLM configured. Use --llm-api-key or enable Token Billing.",
59
+ "framework": "agno",
60
+ })
61
+
62
+ try:
63
+ response = agent.run(message)
64
+ output = response.content if hasattr(response, "content") else str(response)
65
+ return jsonify({"response": output, "framework": "agno"})
66
+ except Exception as e:
67
+ return jsonify({"error": str(e)}), 500
68
+
69
+
70
+ @app.route("/")
71
+ def index():
72
+ return """<!DOCTYPE html>
73
+ <html><head><title>1Claw Agno Agent</title></head>
74
+ <body style="font-family:system-ui;max-width:600px;margin:40px auto;padding:0 20px">
75
+ <h1>1Claw Agno Agent</h1>
76
+ <p>Send messages via <code>POST /chat</code> with <code>{"message": "..."}</code></p>
77
+ <p>Health: <a href="/health">/health</a></p>
78
+ <p style="color:#666;font-size:0.9em">
79
+ Credentials stay in the host daemon — this container never sees secret values.
80
+ </p></body></html>"""
81
+
82
+
83
+ if __name__ == "__main__":
84
+ port = int(os.environ.get("CHAT_UI_PORT", "3000"))
85
+ print(f"Agno agent listening on http://0.0.0.0:{port}")
86
+ app.run(host="0.0.0.0", port=port)
@@ -0,0 +1,34 @@
1
+ #!/bin/sh
2
+ set -e
3
+
4
+ DAEMON_SOCKET="${ONECLAW_DAEMON_SOCKET:-/run/1claw/daemon.sock}"
5
+ CHAT_UI_PORT="${CHAT_UI_PORT:-3000}"
6
+
7
+ echo "─────────────────────────────────────────────"
8
+ echo " 1Claw Agno Agent"
9
+ echo " Framework: agno"
10
+ echo " Agent ID: ${ONECLAW_AGENT_ID:-not set}"
11
+
12
+ if [ -S "$DAEMON_SOCKET" ]; then
13
+ echo " Mode: ${ONECLAW_MODE:-cloud} (daemon socket)"
14
+ echo " Socket: $DAEMON_SOCKET"
15
+ else
16
+ echo " Mode: standalone (no daemon socket)"
17
+ fi
18
+ echo "─────────────────────────────────────────────"
19
+
20
+ if [ "$ONECLAW_LLM_VIA_SHROUD" = "true" ]; then
21
+ export OPENAI_BASE_URL="${ONECLAW_SHROUD_URL}/v1"
22
+ echo "LLM routed through Shroud: ${ONECLAW_SHROUD_PROVIDER}/${ONECLAW_SHROUD_MODEL}"
23
+ fi
24
+
25
+ if [ -S "$DAEMON_SOCKET" ]; then
26
+ if command -v 1claw-mcp >/dev/null 2>&1; then
27
+ ONECLAW_LOCAL_VAULT=true ONECLAW_DAEMON_SOCKET="$DAEMON_SOCKET" \
28
+ 1claw-mcp --local 2>/tmp/mcp.log &
29
+ echo "MCP server started in background."
30
+ fi
31
+ fi
32
+
33
+ echo "Ready: http://0.0.0.0:${CHAT_UI_PORT}"
34
+ exec python agent.py
@@ -0,0 +1,2 @@
1
+ agno>=1.0.0
2
+ flask>=3.0.0
@@ -0,0 +1,24 @@
1
+ name: agno
2
+ display_name: "Agno"
3
+ version: 1.0.0
4
+ description: "Agno multi-modal agent with 1Claw secrets"
5
+ author: 1Claw
6
+ language: python
7
+ homepage: https://docs.agno.com
8
+
9
+ docker:
10
+ base_image: python:3.12-slim
11
+ context_files:
12
+ - Dockerfile
13
+ - requirements.txt
14
+ - agent.py
15
+ - entrypoint.sh
16
+ env:
17
+ ONECLAW_FRAMEWORK: agno
18
+ health_endpoint: /health
19
+ health_port: 3000
20
+
21
+ post_spawn_message: |
22
+ Edit agent.py to add tools and configure your Agno agent.
23
+ Your 1Claw MCP server is available at the daemon socket.
24
+ LLM calls are routed through Shroud for inspection and redaction.
@@ -0,0 +1,34 @@
1
+ FROM python:3.12-slim
2
+
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ curl tini git && \
5
+ rm -rf /var/lib/apt/lists/*
6
+
7
+ WORKDIR /app
8
+
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ RUN pip install --no-cache-dir 1claw-mcp 2>/dev/null || \
13
+ (apt-get update && apt-get install -y --no-install-recommends nodejs npm && \
14
+ npm install -g @1claw/mcp@latest && \
15
+ rm -rf /var/lib/apt/lists/*) || \
16
+ echo "WARN: 1claw-mcp install deferred to runtime"
17
+
18
+ COPY agent.py .
19
+ COPY entrypoint.sh .
20
+ RUN chmod +x entrypoint.sh
21
+
22
+ RUN mkdir -p /run/1claw
23
+
24
+ ENV NODE_ENV=production
25
+ ENV ONECLAW_DAEMON_SOCKET=/run/1claw/daemon.sock
26
+ ENV ONECLAW_FRAMEWORK=coder
27
+
28
+ EXPOSE 3000
29
+
30
+ HEALTHCHECK --interval=10s --timeout=3s --start-period=10s --retries=5 \
31
+ CMD curl -sf http://localhost:3000/health || exit 1
32
+
33
+ ENTRYPOINT ["tini", "--"]
34
+ CMD ["./entrypoint.sh"]
@@ -0,0 +1,36 @@
1
+ # Coder Template
2
+
3
+ A Python agent for automating [Coder](https://coder.com) workspace management with 1Claw MCP for secrets.
4
+
5
+ ## Quick start
6
+
7
+ ```bash
8
+ 1claw spawn coder
9
+ ```
10
+
11
+ Or with your own API key:
12
+
13
+ ```bash
14
+ 1claw spawn coder --llm-api-key sk-...
15
+ ```
16
+
17
+ ## What's included
18
+
19
+ - **agent.py** — Coder workspace automation agent with workspace listing
20
+ - **Flask server** on port 3000 with `/chat` and `/health` endpoints
21
+ - **Shroud integration** — LLM calls are routed through Shroud for inspection
22
+ - **MCP server** — started automatically for tool access to 1Claw vault
23
+
24
+ ## Customizing
25
+
26
+ Edit `agent.py` to add Coder API actions: create workspaces, start/stop
27
+ builds, manage templates, or automate dev environments. Store
28
+ `CODER_URL` and `CODER_SESSION_TOKEN` in your 1Claw vault.
29
+
30
+ ## LLM authentication
31
+
32
+ The template supports three methods (configured at spawn time):
33
+
34
+ 1. **BYOK** — `1claw spawn coder --llm-api-key sk-...`
35
+ 2. **Token Billing** — enable in Dashboard, no key needed
36
+ 3. **Anthropic WIF** — OIDC federation for Anthropic models