coreouto
A minimal, extensible agent library for Python.
Built on five philosophies: minimalism, extensibility, explicitness, fragmentation, conciseness.
The whole library reduces to one idea: an agent is called with a message, runs an internal loop, and returns its response when the model produces a response with text content and no tool calls — that response's text becomes the final answer. Unrecoverable provider terminations (token cap, refusal, content filter, server-side failure) also end the loop. Everything else — providers, tools, presets, hooks, multi-agent — is an opt-in extension.
import os
import coreouto as co
from coreouto.providers.openai import OpenAIProvider
@co.register_tool("search")
def search(query: str) -> str:
"""Search the web for `query`."""
return f"<results for {query}>"
co.register_provider("minimax", OpenAIProvider(
api_key=os.environ["MINIMAX_API_KEY"],
base_url="https://api.minimax.io/v1",
))
preset = co.register_agent_preset(
"researcher", model="MiniMax-M3", provider="minimax",
system_prompt="You are a research assistant.",
tools=["search"],
)
response = co.Agent(preset.to_config()).call_sync("Find me recent news about fusion energy.")
print(response.content)
Install
pip install coreouto
# with providers
pip install coreouto[openai]
pip install coreouto[anthropic]
pip install coreouto[google]
pip install coreouto[all]
Documentation
See docs/ for the full documentation set:
- Philosophy — the five principles
- Quickstart
- Agent
- Providers
- Tools
- Presets
- Hooks
- Multi-agent
- System prompts — the default prompt and how to write your own
License
Apache 2.0 — see LICENSE.
Release files for coreouto 0.11.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| coreouto-0.11.2.tar.gz | 122.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| coreouto-0.11.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 161.4 kB
Release files / coreouto-0.11.2.tar.gz
| Download URL | coreouto-0.11.2.tar.gz |
|---|---|
| Size | 122.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1333570858180264869fca0107bdac40d68b63b55543fc18cf8700207d12a81
|
|
BLAKE2b-256 checksum How to use checksums |
9570de573e6b564b08428be4162709d39825db5ee3b58e4a419874cf8cc5f585
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 17, 2026.
Transparency logRelease files / coreouto-0.11.2-py3-none-any.whl
| Download URL | coreouto-0.11.2-py3-none-any.whl |
|---|---|
| Size | 39.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
440884e5603b4e12fe606ab8e9e4d48a4cb3d6db6e8fdff15aa584ddf050b436
|
|
BLAKE2b-256 checksum How to use checksums |
2f31591d9fa925aad85260ae7be1f5b867bbec55e9464f07ba307c2325513091
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 17, 2026.
Transparency log