Skip to content
CanyonCodeCoreAIPublic

About

Workflow management platform that simplifies observability, provides seed resource allocation, runtime orchestration and auto scaling of workflows

Resources

Code of conduct

Contributing

Security policy

Stars

42 stars

Watchers

0 watching

Forks

Latest commit

 

History

297 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CanyonOS

CI Latest release Python 3.10 to 3.15 License: AGPL-3.0

CanyonOS is an open source platform that deploys, observes and scales a multi-agent application written in plain Python, with no SDK, no decorators and no tracing code, locally or on your own infrastructure.

Maintained by CanyonCode.

Core Features

  • Easy deployment: Developers write agents in python locally without any special features. CanyonOS instruments the code to simplify and automate workflow group.
  • Complete Observability: All metrics, logs, and traces from your runtime are collected and displayed, with OTel-compatability allowing connection to any OTel-compatable frontend. A Dashboard is included.
  • Fully Asynchronous: Asynchronous execution for scale is built in, without modifying your workflow.
  • Non-invasive: None of your existing code is changed. A new .canyon folder is created when building on top of a existing workflow.

Why CanyonOS is Better

Without CanyonOS With CanyonOS What you do with CanyonOS
Orchestration Set up Kubernetes or other infrastructure canyonos deploy does this automatically Run one command
Observability Add Langfuse or other observability platforms Built in, exports OTel anywhere Nothing: open the dashboard the deploy starts
Async Execution Add Ray or other scaling frameworks Built in, no code changes Nothing for parallel calls. To autoscale, a five-line scaling.yaml, about 2 minutes
Cost Transparency Difficult calculations and spreadsheets Out of the box insights per workflow and per agent Nothing to see cost. To cap it, one llms.yaml entry per model, a few minutes

Requirements

  • Python 3+
  • Docker with Compose v2
  • Agents run on Python 3.15 by default. For an earlier one (3.10 or later), add a .python-version file with that version, such as 3.12, to your workflow folder.
  • Optional: A coding agent of your choice to convert an existing workflow

Our Principles

A workflow is a program that delivers an outcome, and each agent is a specialist it trusts with one step.

A workflow can be defined as a map or graph of agents. You can think of these as a group of distributed programs that accomplish a more complex task through coordinated effort. In CanyonOS, your workflow is represented by your workflow folder.

Your code says what the application does, and the config says how it runs: how many replicas, what resources, which models.

Each agent completes a specialized job, running and scaling in its own containers. A few well-chosen agents are easier to run than many small ones. See our docs on workflow design for more information.

Installation

To install CanyonOS:

curl -fsSL https://raw.githubusercontent.com/CanyonCodeCoreAI/canyonos/main/packages/cli/install.sh | sh

or

uv tool install canyonos

or

pip install canyonos

To verify the local installation:

canyonos doctor

To run a quick tutorial and local deployment:

canyonos quickstart

To build a new workflow:

Create a new directory and run canyonos new-app.

mkdir my-proj
cd my-proj
canyonos new-app

Each agent is a class in its own file under agents/.

agents/my_agent.py

class MyAgent:
    def run(self, query: str) -> str:
        return f"MyAgent got: {query}"

A workflow is also an agent. It receives the requests and calls the others.

agents/workflow.py:

from agents.my_agent import MyAgent

class Workflow:
    def main(self, query: str = "hello") -> dict:
        return {"answer": MyAgent().run(query=query)}

Deploy it from its folder:

canyonos deploy .

Estimated time: a few minutes with Docker running. The deploy is live in under a minute for a small workflow once the CanyonOS images are on the machine; the first deploy takes longer while Docker downloads them.

For details on new workflows, read: building a new workflow.

For configuration, read: workflow configuration.


To convert an existing non-CanyonOS workflow:

For an existing non-cayonOS workflow, run canyonos convert in its folder, then deploy it and test it. Converting needs a coding agent in your terminal, such as Claude Code, Codex, Gemini CLI or Cursor CLI; Convert your own workflow lists them all.

cd your-workflow
canyonos convert
canyonos deploy . --api-key <your api key>
canyonos test "your query"

The endpoint and the dashboard answer only requests that carry that key, as Authorization: Bearer <your api key>; see API key.

The complete path, including credentials, requests, and cleanup, is in the CanyonOS documentation. Start with Installation or Start from scratch.

Commands

Command What it does
deploy Build Docker images, launch the workflow, start the dashboard
stop Stops the current local deployment
dashboard Open the dashboard, signed in with this workflow group's API key
convert Optional: convert an existing workflow to CanyonOS format using your coding agent
feedback Send feedback to developers

See the full list of CLI commands.

Documentation

Security and License

Report security issues as described in SECURITY.md.

CanyonOS is licensed under the GNU Affero General Public License v3.0.

Citation

If you find CanyonOS useful for your research, please cite our related paper (Nalar):

@misc{laju2026nalar,
      title={Nalar: An agent serving framework},
      author={Marco Laju and Donghyun Son and Saurabh Agarwal and Nitin Kedia and Myungjin Lee and Jayanth Srinivasa and Aditya Akella},
      year={2026},
      eprint={2601.05109},
      archivePrefix={arXiv},
      primaryClass={cs.DC},
      url={https://arxiv.org/abs/2601.05109},
}

About

Workflow management platform that simplifies observability, provides seed resource allocation, runtime orchestration and auto scaling of workflows

Resources

Code of conduct

Contributing

Security policy

Stars

42 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages