High performance (LLM-) agents execution environment with production in mind.
AgencyOS is not an operating system for computer users, but rather a computational environment designed specifically for AI agents running on computing infrastructure. It’s a Golang library and small wrapper around it - the server binary. The server acts as an orchestration platform providing agents with high-performance cached tools API, state of the art compute router, which supports routing requests to remote cloud GPUs, local GPUs, or even customer’s own remote hardware.
top style bird-eyes viewA glimpse of what top output looks like:

ANSI terminal style top is available as well, with identical content:

On this screen:
background[embeddings], which is a system process, which automatically creates embeddings of all data accessible to the OS, using the first model, running on the engine with embeddings capabilities.Discord community: https://discord.gg/Runy3ueJZY
vast.ai, but almost any cloud provider can be integrated and supported with automatic nodes management;Combined with LLM request caching, tracking, tagging, tracing, AgencyOS offers a powerful computational environment for AI agents.
Two M1 / M2 Macs serving embeddings for Mistral-7B-Dolphin-2.2.1 for my current data lake:

AgencyOS is a computational environment designed to support AI agents in their tasks by providing them with high-performance tools and compute resources. It’s built on top of Golang library and server binary, offering an orchestration platform for efficient execution of agent tasks.
Soon!
Example configuration file:
database:
type: mysql
host: localhost
port: 3306
tools:
serp-api:
token: ${SERP_API_TOKEN}
proxy-crawl:
token: ${PROXY_CRAWL_TOKEN}
compute:
- endpoint: http://localhost:8001/v1/completions
type: http-openai
max-batch-size: 128 # in case of Mistral-7B and A6000 GPU, 48G
These days you’ll have to copy it to config.yaml and fill to your best knowledge, later we might have some basic discovery for M1/M2/M3 Macs and GPU workstations.
- agent:
name: Google search assistant
input-sink: google-search-goals-sink
prompt-based:
prompt: >
You are AI, your goal is to generate as many as possible google search keywords in order to get more understanding in the field of original goal:
Original goal from a team member: {{goal}}?
First decide in which language to produce keywords in, and stick forever to that decision, this will make your results reliable.
Before generation, think about nuances, such as in what language or set of languages to search for, what team could be missing in their request, but what it would be definitely interested in to achieve their goal. Don't worry, take a deep breath and think step by step.
response-format:
thoughts: place your thoughts here
criticism: constructive self-criticism
language: thoughts on languages to produce keywords in
keywords:
- keywords in the language you've chosen
life-cycle-type: single-shot
life-cycle-length: 200
It’s the most basic agent, with life cycle of single-shot, which means it runs and runs until it reaches desired number of successful runs. Success here means AgencyOS was able to parse its output.
Output format for an agent is given by a structure defined in response-format, and whatever agent’s response will only be accepted as successful if it was in desired format and we have a special tool to address common JSON issues, including an option to employ the model itself(or a different model), to attempt to fix JSON in case Turing Machine style fixes didn’t help, behold:
https://github.com/d0rc/agent-os/blob/main/tools/json-parser.go#L10
We welcome contributions from the community to improve and expand AgencyOS. If you’re interested in contributing, please follow these steps:
AgencyOS is not an operating system for computer users but rather a computational environment designed specifically for AI agents running on computing infrastructure. It provides high-performance tools and compute resources to support agent tasks.
AgencyOS offers several benefits, including:
You can follow the project’s GitHub repository and join our community discussions to stay informed about new features, improvements, and updates.
AgencyOS is released under the MIT License.
That’s it! This README.md provides an overview of AgencyOS, its features, and how to contribute. We look forward to your feedback and contributions to make this computational environment even better for AI agents.