agent-studio
Develop, run, and debug the AGENT-Studio repo (Next.js frontend + FastAPI backend). Use for repo onboarding, starting/stopping services (restart.sh, ports 3115/8000), env vars, logs, and common dev workflows. 本仓库开发/排障:启动前后端、端口/日志、环境变量、lint/build、定位关键目录。
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Agent Studio (Repo)
Navigate the repo
- Run
./restart.shto start the full stack (kills ports8000/3115, starts FastAPI, then Next dev on3115). - Find frontend entry points in
src/app/and shared UI insrc/components/. - Find chat API in
src/app/api/chat/route.ts. - Find backend API in
backend/main.pyand game engine code inbackend/engine/. - Read architectural notes before large refactors:
-
docs/dev_docs/2025-12-31-chat-architecture-refactor.md -
docs/dev_docs/2025-12-31-game-playground-roadmap.md -
docs/refactoring_docs/2026-01-01-playground-page-refactor.md
-
Run common workflows
- Start frontend only:
npm installthennpm run dev -- -p 3115. - Start backend only:
cd backend && (source .venv/bin/activate || true) && python main.py. - Lint/build:
npm run lint,npm run build.
Check configuration quickly
- Set
OPENROUTER_API_KEYin.env.localfor chat (src/app/api/chat/route.ts). - Verify backend health at
http://localhost:8000/health. - Tail backend logs at
backend/backend.logwhen using./restart.sh.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!