Typed model APIs, providers and wire protocols.
xdog-ai
XDOG
Tools for building AI agents and managing LLM deployments.
Start with an agent in your repository. Turn a useful sequence of steps into a workflow you can test and run again. Connect file changes or schedules when it is time to automate.
XDOG gives you ready-to-use apps and composable Python SDKs. Your host keeps control of tools, permissions and state; no hosted control plane is required.
Get started → Explore workflows
Linux · Python 3.12+ · Open source
Try Coding in a repository. You do not need the whole stack to get started.
pip install xdog-coding
xdog-ai login copilot
xdog-coding --permission-mode ask
Real model calls need an authenticated provider. Choose a model from your configured catalog.
The ask mode allows read-only calls by default and requests approval for mutations.
pip install xdog-flow xdog-eyes xdog-claw
Install in the same Python environment for capability discovery. Coding and Claw include
xdog-skills. Installed capabilities contribute tools and discoverable skills;
skill bodies are not activated by default.
A repository review can be a process, not a conversation you reconstruct each time:
Each step gets explicit inputs and outputs. Add workflow test cases before relying on the next run.
xdog-flow validate ./workflows/review.json
xdog-flow test ./workflows/
Illustrative workflow, not a live run or an included review recipe. Commands assume you have created the workflow and its tests.
Use the same Agent loop behind the apps. Register your tools, load skills from your own directories, and open only the capabilities you need. Keep permission checks in your host.
from xdog.agent import ToolRepo, SkillRepo
from xdog.agent.capabilities import CapabilitySet
catalog = CapabilitySet(
"application",
tool_repo=ToolRepo(),
skill_repo=SkillRepo(),
)
async with catalog.select(["flow"]).open() as capabilities:
async with capabilities.create_agent(
stream_fn,
config=config,
before_tool_call=permission_hook,
) as agent:
async for event in await agent.prompt(task):
handle(event)
Source SDK excerpt. Your host supplies the model stream, config, permission hook,
task and event handler. Install xdog-flow for its capability.
Use the API docs matching your installed release.
8 public packages. Use an app, build on the SDKs, or combine just what your project needs.
Typed model APIs, providers and wire protocols.
xdog-ai
Reusable Agent and host-owned composition SDKs.
xdog-agent
Shared terminal rendering and input components.
xdog-tui
Interactive coding assistant with explicit permissions.
xdog-coding
Persistent multi-channel assistant application.
xdog-claw
Typed workflows for humans and Coding Agents.
xdog-flow
JSON observations and an independent shared daemon.
xdog-eyes
Goal and plan skills with isolated domain support.
xdog-skills
Local-first does not mean local-model-only: choose your provider and keep execution in your host. Durable features use local files and SQLite. AGPL-3.0-or-later.