Skip to main content

A minimal Python agent framework built on tau-ai.

Project description

Tauon

A minimal Python agent framework built on tau. Think of it like flue of tau instead of pi.

Quick start

from tauon import define_agent, define_tool, use_model, use_tool


@define_tool
def get_weather(city: str) -> str:
    """Get the current weather for a city."""
    return f"Sunny and 22°C in {city}."


@define_agent
def WeatherAgent() -> str:
    use_model("openai/gpt-4.1-mini")
    use_tool(get_weather)
    return "You are a weather assistant."
export OPENAI_API_KEY=...
uv run tauon run examples/weather.py --message "What's the weather in Paris?"

Project details


Download files

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

Source Distribution

tauon-0.0.1.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

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

tauon-0.0.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file tauon-0.0.1.tar.gz.

File metadata

  • Download URL: tauon-0.0.1.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tauon-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5e3a4017de065c45ff73534f8b3560f11d69dd6f8b52d6841e8c7fb3a399443e
MD5 b38d0fe851e97414b002d520a0216747
BLAKE2b-256 bda25878ead2318899636df2f24e24aa29222b14ee868d078ed5ee8927ad867b

See more details on using hashes here.

File details

Details for the file tauon-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tauon-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tauon-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 423203a923263ef08f1a011d09ae4fd5d9d11d4c5f8926412ec6e3716fbd33ad
MD5 13941947214951500b7c2afc0a01bc9a
BLAKE2b-256 4fc1bf07903984912130f79c9e9754dd366da136cff84822ab61595edb97c5f2

See more details on using hashes here.

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