agent parallelism: background tools, bg spawn_agent, parallel tool batches, message queue
- backgroundable tools (terminal/ssh_exec/peer/spawn_agent/code_exec) detach
  via TaskManager with per-session/global/spawn caps, rate limit and TTL
- completion delivery both ways: task_update event (out-of-band) + pending
  notes injected into the next turn; tasks tool (list/check/wait/cancel)
- parallel tool-call batches (profile-level gate, off by default) with
  ToolStarted up-front, tagged event mux, call-order results, one save,
  plus dangling tool_call repair on session load
- user message queue instead of busy error: message_queued frame,
  back-to-back drain on the same socket, headless fallback on disconnect
- pin mcp<2 (v2 renames FastMCP with breaking API changes)
- docs: tasks.md (new), websocket/api/agent/config updates, tasks manual,
  spawn_agent background param, persona contract section
1 parent 947d470 commit 1d10f852dd2c4cf9253b7c2fd9420eed9a62ef24
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 5 hours ago
Showing 41 changed files
View
docs/agent.md
View
docs/api.md
View
docs/config.md
View
docs/index.md
View
docs/tasks.md 0 → 100644
View
docs/websocket.md
View
manuals/spawn_agent.md
View
manuals/tasks.md 0 → 100644
View
navi/api/websocket.py
View
navi/config.py
View
navi/core/agent.py
View
navi/core/agent_run_context.py
View
navi/core/container.py
View
navi/core/events.py
View
navi/core/orchestrator.py
View
navi/core/pg_session_store.py
View
navi/core/registry.py
View
navi/core/task_notes.py 0 → 100644
View
navi/core/tasks.py 0 → 100644
View
navi/core/tool_executor.py
View
navi/profiles/base.py
View
navi/tools/__init__.py
View
navi/tools/code_exec.py
View
navi/tools/peer.py
View
navi/tools/spawn_agent.py
View
navi/tools/ssh_exec.py
View
navi/tools/tasks.py 0 → 100644
View
navi/tools/terminal.py
View
persona.txt
View
persona_navi_code.txt
View
pyproject.toml
View
tests/unit/api/test_websocket.py
View
tests/unit/core/test_orchestrator_queue.py 0 → 100644
View
tests/unit/core/test_parallel_tools.py 0 → 100644
View
tests/unit/core/test_task_manager.py 0 → 100644
View
tests/unit/core/test_task_notes.py 0 → 100644
View
tests/unit/core/test_task_notes_injection.py 0 → 100644
View
tests/unit/core/test_tool_executor.py
View
tests/unit/test_deployment_flags.py
View
tests/unit/tools/test_spawn_agent.py
View
tests/unit/tools/test_tasks_tool.py 0 → 100644