Skip to main content
Domyn

Build AI agents in Python or YAML, run them on any model, and work with them from the terminal.

CI Coverage Python License Docs Built by Domyn

Documentation · Examples · Contributing


Domyn Agents is a powerful and extensible agent harness. It works with any model, from Domyn's, to other OSS models running in vLLM, or closed model providers. Domyn Agents is provided with an extensive cli for setup and configuration.

Domyn Agents also allows to build your own agents. Define them with the Python library or a YAML config, give them tools, let them hand work to each other, and require a person's approval for any tool that should not run unsupervised. domyn run runs the agents you build too.


Domyn Agents running in the terminal

Installation

Domyn Agents is published on PyPI as part of domyn (the GitHub repository is domyn-agents).

For the terminal agent, install the domyn command. On macOS (Apple Silicon) and Linux, the installer brings its own Python:

curl -fsSL https://github.com/domynai/domyn-agents/releases/latest/download/install.sh | sh

On Windows (x64 and ARM64), in PowerShell; domyn runs commands in Git Bash, so it also needs Git for Windows:

irm https://github.com/domynai/domyn-agents/releases/latest/download/install.ps1 | iex

or install it with uv, on Python 3.12 or later:

uv tool install "domyn[cli]"

To install the development version from the repository instead, use uv tool install "domyn[cli] @ git+https://github.com/domynai/domyn-agents".

To build agents in a Python project (Python 3.12 or later), add it as a dependency:

uv add domyn

With pip, run pip install "domyn[cli]". Agents import from domyn.agents (from domyn.agents import Agent, Runner). Optional extras add integrations: tracing (OpenTelemetry), langchain, langgraph, slack, telegram and audio (local speech to text).

Getting started

Start it in the directory you want to work on:

domyn run

The first time, a setup wizard asks for a provider, a model and an API key, and saves them under ~/.domyn/. Then you chat with the agent. It can read the files in this directory freely, and it asks for your approval before it writes a file or runs a command: once, for the rest of the conversation, in this project, or always.

Conversations are saved, and domyn run --resume picks one up where you left it. Type /help in a session to see its commands. See Interactive sessions.

To build your own agents, in Python or in YAML, see the documentation or the examples.

Features

  • Any model: vLLM, OpenAI, Anthropic, Cerebras, OpenRouter or any OpenAI-compatible endpoint, with native tool calling or a prompt-based protocol for endpoints without it.
  • Tools: Python functions, streaming tools, remote MCP servers, and built-in file and shell tools confined to a workspace.
  • Containerized backend: run commands, file tools and the browser are containerized by default, while the orchestration loop remains outside.
  • Multi-agent: agents hand work to each other, with control over what each one sees and whom it can call. Remote agents take part like local ones.
  • Human in the loop: a tool can wait for approval, remembered for one call, a conversation or longer, and rules or hooks can decide some calls on their own.
  • Skills: teach agents reusable know-how with SKILL.md files, loaded only when a task needs them.
  • Standing instructions: SOUL.md and AGENTS.md files that shape every conversation.
  • Long conversations: the conversation is compacted before it outgrows the model's context window.
  • Hooks: run your code before and after agents and tools, to log, validate or change what they do.
  • Persistent memory: agents remember facts across conversations, in a markdown file you can edit.
  • Vision: with a model that supports vision, the agent can read images from the workspace or attached to a message.
  • Decision models: a small model answers typed questions with probabilities, for example to pick skills or judge approvals. Off unless configured.

Documentation

The documentation has guides for the terminal agent and for building agents, and a reference for the CLI, the YAML schema and the event types.

Contributing

Contributions are welcome. Search the issues first; anything beyond a small fix starts from an issue a maintainer has accepted. CONTRIBUTING.md explains how to propose a change, set up the environment, run the tests and the checks, and build the documentation site. If you work with a coding agent, have it follow AGENTS.md. Everyone taking part is expected to follow the code of conduct.

To report a security vulnerability, see SECURITY.md rather than opening an issue.

License

Domyn Agents is released under the Apache License 2.0.

Metadata

Release files for domyn 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for domyn 0.5.2
File Size Uploaded Provenance Actions
domyn-0.5.2.tar.gz 3.1 MB With provenance Details for domyn-0.5.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for domyn 0.5.2
File Interpreter ABI Platform Actions
domyn-0.5.2-py3-none-any.whl Python 3 none any Details for domyn-0.5.2-py3-none-any.whl

Total release size: 5.1 MB

Release files / domyn-0.5.2.tar.gz

Download URL domyn-0.5.2.tar.gz
Size 3.1 MB
Tags Source
SHA-256 checksum
How to use checksums
9ff82108f858fcfcd94822c593306b3716389c61feed44a6a05529462cb60ecc
BLAKE2b-256 checksum
How to use checksums
bbc134f73bfe8f7375b1ed0a287724918fc2fd37ddcd20fbd53655aa7858ba8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / domyn-0.5.2-py3-none-any.whl

Download URL domyn-0.5.2-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9409eff2cd70b07f8c3de3f062b5b512efe6ff5edeceb835ae2a0e982cf8933d
BLAKE2b-256 checksum
How to use checksums
7e1d4184bd1321e67615776cd0b2de0cd3604f3b6fa003eb389c7ff2d09acf87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for domyn 0.5.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for domyn-0.5.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page