-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Start
Get AgentOS running in 5 minutes
- Python 3.11+
- Poetry (Python package manager)
- Git
- Claude Code CLI installed
git clone https://github.com/martymcenroe/AgentOS.git
cd AgentOSpoetry installmkdir -p YourProject/.claude
cp AgentOS/.claude/project.json.example YourProject/.claude/project.json{
"variables": {
"PROJECT_ROOT": "/c/Users/you/Projects/YourProject",
"PROJECT_NAME": "YourProject",
"GITHUB_REPO": "username/YourProject",
"TOOLS_DIR": "/c/Users/you/Projects/YourProject/tools",
"WORKTREE_PATTERN": "YourProject-{ID}"
},
"inherit_from": "C:\\Users\\you\\Projects\\AgentOS"
}poetry run --directory /path/to/AgentOS \
python /path/to/AgentOS/tools/agentos-generate.py \
--project YourProjectThis generates:
-
.claude/settings.json- Permission patterns -
.claude/commands/*.md- Slash commands -
.claude/hooks/*.sh- Pre/post tool hooks
If your project needs specific rules beyond AgentOS core:
# CLAUDE.md - YourProject
## Project Context
Brief description of what this project does.
## Build Commands
poetry run pytest
npm run build
## Project-Specific Rules
Any rules specific to this project.Launch Claude Code in your project:
cd YourProject
claudeThe agent now operates under AgentOS governance:
- Bash safety rules enforced
- Worktree isolation for code changes
- Gemini verification gates (when configured)
- Permission friction minimized
When you give the agent a coding task, it should:
- Create a worktree before editing code
- Work in the worktree, not main
The agent should never use &&, |, or ; in Bash commands.
Permission prompts should be minimal (< 5% of tool calls).
For full governance gates, configure Gemini:
- Get Gemini API credentials
- Add to
~/.agentos/credentials.json - Configure gates in project CLAUDE.md
Reduce friction by adding project-specific patterns:
poetry run python tools/agentos-permissions.py \
--audit --project YourProjectRun security and compliance audits:
/audit --type securityCause: Using Unix path format with Windows tools
Fix: Use Windows paths (C:\...) for Read/Write/Edit/Glob tools
Cause: Patterns not learned yet
Fix: Let patterns accumulate, or run --sync to propagate from other projects
Cause: CLAUDE.md not being read
Fix: Ensure CLAUDE.md is in project root and properly formatted
- Multi-Agent Orchestration - Architecture overview
- Permission Friction - Reduce approval prompts
- Governance Gates - LLD, implementation, report gates
- Measuring Productivity - Track your metrics