Skip to main content

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 calls the built-in finish tool with the final answer. 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:

License

Apache 2.0 — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coreouto-0.5.0.tar.gz (79.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coreouto-0.5.0-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file coreouto-0.5.0.tar.gz.

File metadata

  • Download URL: coreouto-0.5.0.tar.gz
  • Upload date:
  • Size: 79.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for coreouto-0.5.0.tar.gz
Algorithm Hash digest
SHA256 ab53a73dfd82a3a9a92f292b93b00873a4b59230e955b96bf91872ec6f98791d
MD5 d0c023dba2fb5fa591f713e1748f2a68
BLAKE2b-256 f3d81f0c007972fe04f9ae6a35d876d5cbca66df9fef7ecd31c57199db1b64b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for coreouto-0.5.0.tar.gz:

Publisher: publish.yml on llaa33219/coreouto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file coreouto-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: coreouto-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for coreouto-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5604a991e482b2b8ee462577deab28d0f9c5633e1490f63ce8c3675bd57c89f
MD5 68300f981bbe8098ea7710bd791e46eb
BLAKE2b-256 435c5aa0e551ad45cfbb6089a1d598d23e502acbd781a25a8c32d6222a16fd64

See more details on using hashes here.

Provenance

The following attestation bundles were made for coreouto-0.5.0-py3-none-any.whl:

Publisher: publish.yml on llaa33219/coreouto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page