A programming language and runtime for agents
Project description
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
- Website: toolang.ai
- Docs: toolang.ai/docs
- GitHub: github.com/openhat-ai/toolang
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file toolang-0.1.6.tar.gz.
File metadata
- Download URL: toolang-0.1.6.tar.gz
- Upload date:
- Size: 452.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bed2ff87bfa57e6dcb9ff5942ddbc7323228de6e6957a7a0678237bc3007056f
|
|
| MD5 |
f80b65d45f886363705372c355a7c1e5
|
|
| BLAKE2b-256 |
1f85fb11caa78d4ba3600c2b970c6968bb2c394671b9592e0baba14eff06fab4
|
Provenance
The following attestation bundles were made for toolang-0.1.6.tar.gz:
Publisher:
publish-pypi.yml on openhat-ai/toolang
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
toolang-0.1.6.tar.gz -
Subject digest:
bed2ff87bfa57e6dcb9ff5942ddbc7323228de6e6957a7a0678237bc3007056f - Sigstore transparency entry: 1628365876
- Sigstore integration time:
-
Permalink:
openhat-ai/toolang@4bb28903919123aced92dd32aeba71abc15631f3 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/openhat-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@4bb28903919123aced92dd32aeba71abc15631f3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file toolang-0.1.6-py3-none-any.whl.
File metadata
- Download URL: toolang-0.1.6-py3-none-any.whl
- Upload date:
- Size: 278.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4933821f176b5655a9ad332ea2778457029387f80c7dee0961c84a9453831727
|
|
| MD5 |
2ebf493107e5889f653da330df6f22b1
|
|
| BLAKE2b-256 |
9a8d500c4e6c45effd380009fb487daa172ca1adffb937dcfe4bf5e8dd8443a9
|
Provenance
The following attestation bundles were made for toolang-0.1.6-py3-none-any.whl:
Publisher:
publish-pypi.yml on openhat-ai/toolang
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
toolang-0.1.6-py3-none-any.whl -
Subject digest:
4933821f176b5655a9ad332ea2778457029387f80c7dee0961c84a9453831727 - Sigstore transparency entry: 1628365890
- Sigstore integration time:
-
Permalink:
openhat-ai/toolang@4bb28903919123aced92dd32aeba71abc15631f3 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/openhat-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@4bb28903919123aced92dd32aeba71abc15631f3 -
Trigger Event:
push
-
Statement type: