Skip to main content

A programming language and runtime for agents

Project description

Toolang

Toolang

A programming language and runtime for agents.

Tool calling turned LLMs from chatbots into agents. Toolang makes agents easy to build, run, and share.

Try Now

Start with a shared agent, no installation required:

uvx toolang run https://toolang.ai/dev.too

Or use a GitHub shorthand:

uvx toolang run briceyan/dev

Get Started

Install Toolang to build and run your own agents:

uv tool install toolang

Create a local agent:

toolang new alice

Or clone a shared agent:

toolang clone briceyan/dev bob

Extend your agents with caps — composable agent primitives:

caps alice skill add briceyan/codebase-navigation
caps alice psyche add briceyan/senior-engineer
caps alice service add briceyan/github

Caps are typically Markdown files. To create your own cap, start one locally:

caps alice skill new reviewer

Run in the foreground to watch the logs. Press Ctrl+C to stop. Use PY_LOG for more detail:

toolang run alice
PY_LOG=debug toolang run alice

Or start it in the background:

toolang start alice

In either case, open the printed WebUI link to connect to the agent:

Started agent alice: https://too.run/7001

To stop a background agent:

toolang stop alice

Common Commands

# Agents
toolang new <agent>                  # Create a local agent
toolang clone <ref> <agent>          # Clone a shared agent
toolang run <agent-or-ref>           # Run an agent in the foreground
toolang start <agent>                # Start an agent in the background
toolang stop <agent>                 # Stop a running agent

# Runtime
toolang model list                   # List available models
toolang tool list                    # List available tools

# Caps
caps [agent] psyche add <ref>        # Add a psyche
caps [agent] skill add <ref>         # Add a skill
caps [agent] service add <ref>       # Add an MCP server
caps [agent] prompt add <ref>        # Add a slash command
caps [agent] skill list              # List skills
caps [agent] list                    # List all caps

Links

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

toolang-0.2.1.tar.gz (488.2 kB view details)

Uploaded Source

Built Distribution

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

toolang-0.2.1-py3-none-any.whl (308.3 kB view details)

Uploaded Python 3

File details

Details for the file toolang-0.2.1.tar.gz.

File metadata

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

File hashes

Hashes for toolang-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4ff9c36767f93bde0c2f793b571bf3eb4034b3958515cec71aed576b0e7cfd17
MD5 ee6aebae7e2f2fd6ccbce9d507536bfb
BLAKE2b-256 4bb4cf69d8b7e95660ab4c9d7d2643eeb9d1a0085dbd89b5737a4c76f1d85db1

See more details on using hashes here.

Provenance

The following attestation bundles were made for toolang-0.2.1.tar.gz:

Publisher: publish-pypi.yml on openhat-ai/toolang

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

File details

Details for the file toolang-0.2.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for toolang-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 539ce30aeccb2b76718f8566e28b9d39d2b15642c0df6a0f955b55e106aac036
MD5 a68e52bee2b8eb569d24cf0f546c18da
BLAKE2b-256 70932af1c9f18e56375fe19b81dc8e31ae776ea267602f42f88d0f849a02794d

See more details on using hashes here.

Provenance

The following attestation bundles were made for toolang-0.2.1-py3-none-any.whl:

Publisher: publish-pypi.yml on openhat-ai/toolang

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