docs: add AGENTS.md for AI agent onboarding#1495
Conversation
Covers repo structure, architecture basics, CLI usage (daemon mode, status, stop), testing, code style, git workflow, common pitfalls, viewer backends, and replay mode. Points to docs/ for deep dives.
Greptile SummaryThis PR adds The guide is thorough and well-organized, but two issues were found:
Confidence Score: 3/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[AI Agent reads AGENTS.md] --> B{Quick Start}
B --> C[uv sync]
C --> D[dimos run blueprint]
D --> E{Has McpServer?}
E -->|Yes - unitree-go2-agentic-mcp| F[dimos mcp list-tools / call]
E -->|No - all other blueprints| G[dimos agent-send]
A --> H{Write new module}
H --> I["from dimos.core.module import Module\nfrom dimos.core.stream import In, Out\nfrom dimos.core.core import rpc"]
I --> J[Define In/Out streams]
J --> K["@rpc start() / stop()"]
A --> L{Write new skill}
L --> M["@skill + docstring + typed params"]
M --> N[Return str]
N --> O[pytest test_all_blueprints_generation.py]
O --> P[all_blueprints.py regenerated]
P --> Q[PR to dev branch]
Last reviewed commit: 81fc45c |
| ```python | ||
| from dimos.core.module import Module, In, Out | ||
| from dimos.core import rpc | ||
| from dimos.msgs.sensor_msgs import Image |
There was a problem hiding this comment.
Incorrect rpc import path
The import from dimos.core import rpc will fail at runtime. dimos/core/__init__.py is empty, so rpc is not exported from the dimos.core package. Every file in the codebase (70+ occurrences) uses from dimos.core.core import rpc instead.
An AI agent following this guide will produce broken code on its first attempt to write a module.
| from dimos.msgs.sensor_msgs import Image | |
| from dimos.core.core import rpc |
|
@greptile |
Adds an AGENTS.md to the repo root — a guide for AI coding agents (Openclaw, Codex, Claude Code, Cursor, etc.) working on DimOS.
Covers:
226 lines. Designed to give an agent everything it needs to be productive without reading the entire codebase.
Contributor License Agreement