بنقرة واحدة
run-agent
Help users run agents with different adapters — Claude, OpenAI, Lyzr, GitHub Models, and more
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Help users run agents with different adapters — Claude, OpenAI, Lyzr, GitHub Models, and more
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Guide users through agent.yaml configuration, SOUL.md writing, and directory structure
Help users install gitagent and create their first agent from scratch
Help users register their agent on the gitagent public registry at registry.gitagent.sh
Help users export agents to other frameworks and import from existing tools
Help users search, install, create, and manage agent skills
| name | run-agent |
| description | Help users run agents with different adapters — Claude, OpenAI, Lyzr, GitHub Models, and more |
| license | MIT |
| metadata | {"author":"gitagent","version":"1.0.0","category":"execution"} |
When a user wants to run an agent locally, from a git repo, or with a specific adapter/framework.
# Run local agent with Claude (default)
gitagent run -d ./my-agent
# Run from git repo
gitagent run -r https://github.com/user/agent
# Run with a prompt (one-shot mode)
gitagent run -d ./my-agent -p "Review my code"
| Adapter | Flag | Env Var Required | Interactive |
|---|---|---|---|
| Claude | -a claude | (uses Claude Code auth) | Yes |
| OpenAI | -a openai | OPENAI_API_KEY | No |
| CrewAI | -a crewai | — | No |
| OpenClaw | -a openclaw | ANTHROPIC_API_KEY | No (-p required) |
| Nanobot | -a nanobot | ANTHROPIC_API_KEY | Yes |
| Lyzr | -a lyzr | LYZR_API_KEY | No (-p required) |
| GitHub | -a github | GITHUB_TOKEN | No (-p required) |
| Git | -a git | (auto-detects) | Depends |
| Prompt | -a prompt | — | Print only |
# Claude (interactive)
gitagent run -d ./my-agent
# GitHub Models (one-shot, streaming)
export GITHUB_TOKEN="ghp_..."
gitagent run -d ./my-agent -a github -p "Explain this codebase"
# Lyzr (creates agent on Lyzr Studio + chats)
export LYZR_API_KEY="..."
gitagent run -r https://github.com/user/agent -a lyzr -p "Hello"
# Lyzr one-liner (clone + create + chat)
gitagent lyzr run -r https://github.com/user/agent -p "Hello"
# Auto-detect adapter from repo
gitagent run -r https://github.com/user/agent -a git -p "Hello"
# Just print the system prompt
gitagent run -d ./my-agent -a prompt
Repos cloned via -r are cached at ~/.gitagent/cache/:
# Use cache (default)
gitagent run -r https://github.com/user/agent
# Force refresh
gitagent run -r https://github.com/user/agent --refresh
# No cache (temp dir, deleted after)
gitagent run -r https://github.com/user/agent --no-cache
-a git)The git adapter detects the best runner from the repo:
.gitagent_adapter file (explicit hint)