Repository Overview
Repository Overview
Understand Agiwo from the repository structure.
Agiwo is organized around a canonical agent runtime, a separate scheduler orchestration layer, a tool abstraction, a model layer, and an internal control plane.
What Agiwo Contains
The repository is split across the SDK runtime, the internal Console control plane, and a small set of supporting directories for tests, scripts, and design docs. This page is generated from the code tree and selected supporting documents so it stays closer to the current repository state than a fully hand-written overview.
SDK
| Path | Responsibility |
|---|---|
Agent runtime agiwo/agent | Canonical agent runtime, execution loop, runtime state, models, nested-agent adapters, and persistence hooks. |
Model layer agiwo/llm | Model abstraction, provider adapters, configuration policy, and factory construction. |
Tool layer agiwo/tool | Tool contracts, builtin tools, execution context, process registry, and tool-side persistence. |
Scheduler agiwo/scheduler | Agent-level orchestration, runtime tools, lifecycle management, and scheduler state persistence. |
Observability agiwo/observability | Trace and span storage, querying, and runtime trace adaptation. |
Embedding agiwo/embedding | Embedding abstraction and provider-backed implementations. |
Skills agiwo/skill | Skill discovery, allowlisting, loading, and skill-to-tool bridging. |
Workspace agiwo/workspace | Workspace path semantics, bootstrap, and runtime workspace helpers. |
Memory agiwo/memory | Shared workspace memory indexing, chunking, and search services. |
Configuration agiwo/config | Global SDK configuration and shared provider settings. |
Shared utilities agiwo/utils | Cross-module runtime utilities and shared storage support. |
Sources
- Directory
agiwo/agent - Repository guide — AGENTS.md
AGENTS.md - Directory
agiwo/llm - Directory
agiwo/tool - Directory
agiwo/scheduler - Directory
agiwo/observability - Directory
agiwo/embedding - Directory
agiwo/skill - Directory
agiwo/workspace - Directory
agiwo/memory - Directory
agiwo/config - Directory
agiwo/utils
Console
| Path | Responsibility |
|---|---|
Control plane console/server | FastAPI control plane and runtime integration layer. |
API boundary console/server/routers | HTTP and SSE API boundary for requests and responses. |
Application services console/server/services | Application services for runtime management, registry, tool catalog, session storage, and metrics. |
Shared models console/server/models | Console-facing shared runtime, configuration, and view models. |
Channel adapters console/server/channels | Channel adapters for delivery, parsing, and integration workflows. |
Internal web UI console/web | Internal control-plane frontend for sessions, traces, scheduler, and settings. |
Console tests console/tests | Console backend test suite. |
Sources
- Directory
console/server - Repository guide — AGENTS.md
AGENTS.md - Directory
console/server/routers - Directory
console/server/services - Directory
console/server/models - Directory
console/server/channels - Directory
console/web - Directory
console/tests
Supporting directories
| Path | Responsibility |
|---|---|
SDK tests tests | SDK test suite organized by subsystem. |
Repo scripts scripts | Lint entrypoints, repo guardrails, and maintenance helpers. |
Guardrails lint | Import-linter and repository guard configuration. |
Repository docs docs | Repository-native design notes, concepts, and architecture documentation. |
Templates templates | Template content consumed by runtime features. |
Sources
- Directory
tests - Repository guide — AGENTS.md
AGENTS.md - Directory
scripts - Directory
lint - Directory
docs - Directory
templates
Core Runtime Surfaces
-
agiwo.agent— Public entry for the canonical agent runtime, agent configuration, execution handles, and related types. -
agiwo.scheduler— Public entry for orchestration, persistent roots, routing, waiting, and scheduler-backed agent coordination. -
agiwo.tool— Public entry for tool contracts, tool results, execution context, and builtin tool integration. -
agiwo.llm— Public entry for model abstractions, provider implementations, and model construction helpers.
Sources
- agiwo.agent
agiwo/agent - __init__.py
agiwo/agent/__init__.py - types.py
agiwo/agent/types.py - Repository guide — AGENTS.md
AGENTS.md - agiwo.scheduler
agiwo/scheduler - engine.py
agiwo/scheduler/engine.py - agiwo.tool
agiwo/tool - manager.py
agiwo/tool/manager.py - agiwo.llm
agiwo/llm - factory.py
agiwo/llm/factory.py
Architectural Boundaries
- Scheduler sits on top of the agent runtime instead of the reverse direction.
- Console code should go through scheduler and agent facades rather than reading scheduler store internals directly.
- Public agent-facing types should enter through the correct facade instead of internal runtime modules when called from outside the agent package.
- The public docs site is static and separate from the internal Console web app.
Sources
- Scheduler
agiwo/scheduler - Repository guide — AGENTS.md
AGENTS.md - Console services
console/server/services - Agent types
agiwo/agent/types.py - Public docs site
website - Console web
console/web - Deployment guide — Public Site Deployment
docs/public-site-deploy.md
Reference Documents
- Repository guide — AGENTS.md
AGENTS.md - Public entry README — Agiwo
README.md - Architecture overview — Architecture Overview
docs/architecture/overview.md - Getting started guide — Getting Started
docs/getting-started.md - Multi-agent guide — Multi-Agent & Composition
docs/guides/multi-agent.md