Metadata-Version: 2.5
Name: columbina
Version: 0.2.0
Summary: A plugin-based agent harness for Python.
Project-URL: Homepage, https://github.com/Yueran-ML/agent-harness
Project-URL: Documentation, https://github.com/Yueran-ML/agent-harness#readme
Project-URL: Repository, https://github.com/Yueran-ML/agent-harness
Project-URL: Issues, https://github.com/Yueran-ML/agent-harness/issues
Project-URL: Changelog, https://github.com/Yueran-ML/agent-harness/blob/main/CHANGELOG.md
Author: Yueran Ma
License-Expression: MIT
License-File: LICENSE
Keywords: agent,asyncio,coding-agent,harness,llm,mcp,tool-calling
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Framework :: AsyncIO
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: httpx>=0.27
Requires-Dist: keyring>=25
Requires-Dist: prompt-toolkit>=3.0.50
Requires-Dist: pydantic>=2.9
Requires-Dist: pyyaml>=6.0.2
Requires-Dist: rich>=13.9
Provides-Extra: feishu
Requires-Dist: websockets>=16; extra == 'feishu'
Provides-Extra: mcp
Requires-Dist: mcp<3,>=2.3; extra == 'mcp'
Provides-Extra: qq
Requires-Dist: websockets>=16; extra == 'qq'
Provides-Extra: wecom
Requires-Dist: cryptography>=43; extra == 'wecom'
Requires-Dist: websockets>=16; extra == 'wecom'
Description-Content-Type: text/markdown

# Columbina

**A plugin-based agent harness, written from scratch in Python.**

Columbina runs an agent against a language model and lets it work in a directory of yours.
The agent reads, searches and changes files and runs commands, and what a call may do is
decided before it runs. Everything that Columbina is made of is a plugin of a small asyncio
kernel: the model adapter, the tool registry, the session log, and the agent loop itself.

- A conversation at the terminal, one task from the command line, and a JSON-RPC service
  for other programs, such as its desktop app.
- Any model service that speaks the OpenAI Chat Completions protocol; DeepSeek by default,
  and Ollama and LM Studio on the same machine.
- Long conversations are made shorter by themselves, and a session can be taken up again
  after the program was killed.
- Skills, hooks, subagents and the tools of MCP servers add to the agent without a change
  to the program.
- With Docker, the commands of the agent run in a container that has the working directory
  and no network.

## Install

```bash
pip install columbina          # or: uv tool install columbina
pip install "columbina[mcp]"   # with the tools of MCP servers
```

Columbina needs Python 3.11 or newer.

## First steps

```bash
columbina setup                 # choose a service and a model, and store the key
columbina doctor                # see whether a session could start, and what is in the way
columbina                       # a conversation at the terminal
columbina run "What does this project do? Answer in three sentences."
```

## More

The [repository](https://github.com/Yueran-ML/agent-harness) has the source, the
[engineering report](https://github.com/Yueran-ML/agent-harness/blob/main/docs/report.md), and
the [tables of the benchmark](https://github.com/Yueran-ML/agent-harness/blob/main/docs/bench/README.md)
that it is measured with.

Columbina is released under the MIT license.
