Update readme

Change-Id: I815ce57208d3c4de1b99636527c37f0c25476498
1 file changed
tree: d6ecda9f3f02d319d527052d9b91eaf743572aca
  1. .claude/
  2. operations/
  3. server/
  4. .gitignore
  5. CLAUDE.md
  6. config-gerrit-example.yaml
  7. GERRIT.md
  8. MVP_README.md
  9. MVP_SUMMARY.md
  10. prd.md
  11. README.md
  12. setup.sh
  13. STAFF_ONE_PAGER.md
README.md

Staff

AI multi-agent system simulating startup organization. Agents process tasks, create PRs, auto-complete via webhooks.

Setup

Requirements

  • Go 1.21+
  • GitHub token with repo admin permissions

Install

git clone https://github.com/your-org/staff
cd staff

Configure

Edit server/config.yaml:

server:
  listen_address: ":9325"

github:
  token: "your_github_token"
  owner: "your_username"
  repo: "your_repo"

openai:
  api_key: "your_openai_key"

Or use environment variables:

export GITHUB_TOKEN="your_token"
export OPENAI_API_KEY="your_key" 

GitHub Webhook Setup

cd server
./staff webhook configure --webhook-url https://yourserver.com/api/v1/proposal/approve

You will need ngrok if you are doing this locally.

Run

cd server
go run cmd/main.go server

Workflow

  1. Agent processes task → creates PR
  2. Human reviews/merges PR
  3. GitHub webhook → task completed
  4. Agent picks up next task

Commands

Commands for convenience no need to use them.

go run cmd/main.go  create-task --title "Task" --description "Details"
go run cmd/main.go  list-tasks
go run cmd/main.go  list-agents
go run cmd/main.go  start-agent --name agent-name
go run cmd/main.go  webhook configure