界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
部署与运维 · SKILL.md

super-agi

super-agi

【部署与运维】Routes SuperAGI autonomous-agent framework tasks across deployment, FastAPI service, agent workflows, toolkits, model providers, resources, and vector-store operations.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: super-agi description: "Routes SuperAGI autonomous-agent framework tasks across deployment, FastAPI service, agent workflows, toolkits, model providers, resources, and vector-store operations." disable-model-invocation: true metadata: disco-role: operating license: MIT

SuperAGI Repo Skill

Use this skill when a task involves SuperAGI, the open-source autonomous-agent framework for building, managing, and running tool-using AI agents. It is a router for future Researcher sessions; read the focused sub-skill before taking action.

First Checks

  1. If a checkout is available, confirm it is a SuperAGI checkout by looking for a top-level superagi/ package, main.py, config_template.yaml, and one or more docker-compose*.yaml files.
  2. Read references/repo-provenance.md before deciding whether this skill matches the checkout. If the commit, dirty state, or major source layout differs, refresh the repo skill.
  3. Read references/overview.md for the architecture map, service names, and core terminology.
  4. Use scripts/summarize_superagi_checkout.py when you need a safe static summary of a provided checkout.
  5. Use scripts/check_superagi_config.py to validate a config.yaml-style file without contacting external providers.

Route by Task

Minimal Operating Context

SuperAGI is not a small import-only package. Typical local operation uses a multi-service stack:

  • Python FastAPI backend served from main:app.
  • Celery worker/beat tasks from superagi.worker.
  • PostgreSQL for application state and Alembic migrations.
  • Redis for Celery and task queue state.
  • Next.js GUI behind an nginx proxy.
  • Optional GPU/local LLM deployment via a separate CUDA Dockerfile/compose path.

The Python source root is superagi. The checkout has no standard pyproject.toml, setup.py, or setup.cfg; prefer Docker or explicit checkout imports over assuming pip install superagi works.

Minimal Setup and Verification

For a user's own SuperAGI checkout, the public local path is Docker-first:

cp config_template.yaml config.yaml
# edit config.yaml for DB/Redis/provider/storage settings before startup
docker compose -f docker-compose.yaml config

Use docker compose ... config as a safe parse/topology check. Start the stack only when the downstream user authorizes the build, migrations, volumes, and long-running services. For source-only inspection, check that python -c "import superagi" works from an environment where the checkout root is on PYTHONPATH; do not claim a packaged pip install superagi workflow for this snapshot.

Safe Defaults for Future Agents

  • Prefer static inspection, config validation, and helper --help checks before starting services.
  • Do not run full docker compose up, run.sh, entrypoint.sh, marketplace downloads, or provider key validation unless the downstream user explicitly wants those side effects and has supplied the required services/credentials.
  • Treat API keys, OAuth credentials, S3 keys, vector DB credentials, and provider tokens as user secrets. Never hard-code values from examples.
  • For Docker operation, create config.yaml from the checkout's template and adjust DB/Redis hosts to match the deployment target before starting services.
  • For local Python operation outside Docker, expect extra setup work: Python 3.10, requirements, PostgreSQL, Redis, NLTK data, and frontend dependencies.

Verification and Troubleshooting

  • For cross-cutting failures, read references/troubleshooting.md.
  • For service and config failures, read the deployment sub-skill's references/troubleshooting.md.
  • For route/auth/database failures, read the API sub-skill's troubleshooting reference.
  • For parser/tool/workflow failures, read the agents-workflows and toolkits-integrations troubleshooting references.
  • For provider/vector/resource failures, read the models-resources-vector troubleshooting reference.

Repository Skill Metadata

Structured router metadata lives in references/repo-routing-metadata.json. It is consumed by the managed repo-skill importer when import is approved in a separate workflow.

我的收藏