Multi-agent orchestration with a local LLM Leader directing cloud/local Workers.
Project description
ourAgentTeams
My blog : https://aclitice.com
Run a local AI “team” from your terminal
中文 | English
What it is
ourAgentTeams is a command-line assistant for multi-step work: you describe what you want once; the app breaks it into pieces, routes each piece to a suitable model, tracks progress, and returns a single final answer — without you managing prompts for every sub-step.
The leader runs on your machine (via Ollama). You can stay fully local, or add cloud API models when you need stronger or specialized workers. Orchestration stays on your side; sensitive text is not sent to the cloud until you choose API workers (and even then optional redaction helps).
What you can use it for
- Software & writing — specs, refactors, docs, API design, boilerplate in chunks the system merges for you
- Research-style tasks — breakdowns, comparisons, structured reports (with optional retrieval from past runs)
- Day-to-day questions — interactive Single mode routes each message to a reasonable local model; Team mode is for bigger jobs you want planned and executed step-by-step
- Cost-aware workflows — mix free local models with paid APIs only where it matters; budget caps in config
What you get
- Interactive CLI — default session: chat with routing, or type
/team …for full team planning + execution - One-shot tasks —
ouragentteams start "…"for non-interactive runs (scripts, CI, automation) - Privacy helpers — scan for common secrets before sending text to external providers
- Model memory & reports — learn which models pay off; optional savings hints
- Optional tools — file / search / shell helpers in the workflow; RAG over past task text when enabled
Requirements
| Ollama | Install and run on the same machine you use the CLI; pull at least the model set in config/config.yaml as leader.model |
| Python | 3.11+ |
Install
Option A — script (picks venv / conda / uv when present)
bash setup.sh
# then: source .venv/bin/activate # or follow the script’s hint
Option B — minimal
python3 -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -e .
Option C — see Makefile for conda / Docker targets.
Pull a model Ollama can run (match or update leader.model in config/config.yaml):
ollama pull qwen2.5:7b # example; pick one that fits your GPU/RAM
How to use
After install, the ouragentteams command is on your PATH (same environment where you ran pip install -e .).
Step 1: Start interactive session
ouragentteams
- Single mode (default) — normal chat; leader routes each turn to a suitable model.
- Team mode — type
/team <task>for plan + multi-worker execution. - In-session helpers:
/help,/mode,/clear,/exit.
Equivalent command:
ouragentteams chat
Step 2: Run one-shot tasks (non-interactive)
ouragentteams start "Your task in natural language"
Useful for scripts/automation or non-TTY environments.
Step 3: Manage Leader model
List local models (from Ollama):
ouragentteams leader list
Set Leader model and persist to config:
ouragentteams leader use qwen3.5:4b
Quick switch via option-style command:
ouragentteams leader switch --model qwen3.5:4b
ouragentteams leader switch --model qwen3.5:4b --persist
Step 4: Manage workers (CRUD-style)
List workers:
ouragentteams config list-workers
Add a local worker:
ouragentteams config add-worker --model gemma4:e2b --local
Add an API worker:
ouragentteams config add-worker --model gpt-4o --api-key <key> --strengths "coding,analysis"
Remove a worker:
ouragentteams config remove-worker --model gpt-4o
Update worker config: remove then add again with new fields (there is no dedicated
updatecommand yet).
Verify connectivity for leader + all workers:
ouragentteams config verify
Step 5: Useful ops
ouragentteams reload # reload config.yaml
ouragentteams report # model performance summary
ouragentteams --help # all commands
Project layout (quick map)
| Path | Purpose |
|---|---|
config/config.yaml |
Leader model, workers, budget, privacy |
data/ |
Sessions, history, vector store (created at runtime) |
DEVELOPER_GUIDE.md |
Deep docs for developers |
Tests
pip install pytest
pytest -q
License
MIT — see the LICENSE file in the repository root.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ouragentteams-0.1.0.tar.gz.
File metadata
- Download URL: ouragentteams-0.1.0.tar.gz
- Upload date:
- Size: 100.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d5a51c0a7ec009f79d0975a39da62cdeac3e19383d5450c0dd245003047cb7a
|
|
| MD5 |
2c6c5c834beb3eb23fce38fae1b9cd94
|
|
| BLAKE2b-256 |
77204e0535840ef0fbb4908e09545664c1323303f66b4622f75092b7377dec41
|
File details
Details for the file ouragentteams-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ouragentteams-0.1.0-py3-none-any.whl
- Upload date:
- Size: 101.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8581d8552afe5dc8f16968ea2c200bdd2b0d43b93b5a042109fa349a7440d36
|
|
| MD5 |
73f1a1f4a0efe2513e9b634d7894bb22
|
|
| BLAKE2b-256 |
3a488bd177316b483ae46e1d31aa6e83b61c3ff38569747eb431b30ac03a1df7
|