# Run CompanyOS Routines and Tasks on Mini Agent or your Studio agents

> Agno CompanyOS Tasks and Routines now run on Mini Agent or published Studio components, and Super Agent starts accepted Tasks without holding up the chat.

- Published: 2026-11-12
- Author: Harsh Sinha
- Categories: Changelog
- Canonical: https://www.agno.com/blog/run-companyos-routines-and-tasks-on-mini-agent-or-your-studio-agents
- Markdown: https://www.agno.com/blog/run-companyos-routines-and-tasks-on-mini-agent-or-your-studio-agents.md

Published Studio agents, teams and workflows can now execute [CompanyOS](https://www.agno.com/blog/introducing-companyos) Tasks and Routines, and Mini Agent runs any that name no executor. Before, a Task accepted for an agent you built in Studio stopped with "Task executor is missing from the registry". Super Agent also starts accepted Tasks from chat, so every step of `Company` work now has an owner.

![Diagram of CompanyOS coordination in four steps. A Routine runs on Mini Agent or a component it names and proposes Projects and Tasks. A person, or a Routine's auto-accept, moves a Task from Backlog to Ready. Super Agent, the Task API or auto-accept queues the run while the chat carries on. Mini Agent executes by default, alongside agents, teams and workflows in code and published Studio components, while Studio drafts are refused. Finished work waits In review for a person.](https://www.agno.com/images/v3-2-0-companyos-coordination.png)

### Mini Agent runs Routines

A Routine that names no executor runs on Mini Agent, stored as `executor_type="agent"`, `executor_id="miniagent"`. Mini Agent holds the Company tools and the packaged Routine skills, and it has no platform tools or general run tools in a Routine run. It is also the default executor for an accepted Task that names none. AgentOS hides it from `GET /agents`, `/config`, MCP and A2A, and its guardrail refuses every run that is neither a Routine nor a Task.

```text
# real output, a person posts to Mini Agent (stand-in model)
GET /agents ids: ['writer']
POST /agents/miniagent/runs -> 200 "Mini Agent runs Company Routines and Tasks only", model calls: 0
```

### Tasks report their own state

Every Task from `/company/tasks` now carries `last_run` and an `allowed_transitions` list computed by the API, with the same reason text a blocked move returns. `POST /company/tasks/{id}/runs` with an executor on a Backlog Task accepts and starts it in one call, and the Task saves each attempt's state.

```text
# real output, a new Backlog Task on SQLite
{"target": "in_progress", "allowed": true, "reason": null, "starts_run": true}
{"target": "in_review", "allowed": false, "reason": "Review requires a previous Task attempt", "starts_run": false}
```

In chat, Super Agent calls `start_company_task` on a Ready Task, which queues the run in its own session on the durable queue and ends the turn with a receipt. `get_company_task_status` reads the saved state, so the conversation never waits on the worker. A person still reviews the finished work, and accepts it too unless the Routine that proposed it sets `auto_accept`.

### Company details from config, the API or chat

`CompanyConfig` takes the company's name and description, and Super Agent and Mini Agent read them fresh on every run.

```python
from agno.db.sqlite import SqliteDb
from agno.os import AgentOS, CompanyConfig

agent_os = AgentOS(
    db=SqliteDb(db_file="tmp/agno.db"),
    company=CompanyConfig(name="Acme", description="We build warehouse robots."),
)
```

`GET` and `PATCH /company/details` edit the same record with a version check, and Super Agent saves the details when a person states them in chat. After someone edits the details, Super Agent waits for that person to confirm before replacing them. Super Agent's prompt also carries short Company coordination rules.

### Published Studio components execute work

Company's executor check now falls back to the published version in the AgentOS component catalog, so Studio agents, teams and workflows can execute Tasks and Routines. Drafts stay refused, and the usual executor safety checks still run.

```text
# real output, accepting a Task for a published Studio agent
Before: studio-writer 409 Task executor is missing from the registry
Now:    studio-writer 200 ready
```

See the [cookbook](https://github.com/agno-agi/agno/blob/main/cookbook/05_agent_os/30_company/README.md), and learn more about [CompanyOS](https://docs.agno.com/agent-platform/company-os) in the documentation.
