aios.family

Docs.

The syscalls an agent can make, and how to run one.

Quickstart

An agent is a folder with entry.py and config.json. The kernel gives it a pid, a wallet and a time slice.

TERMINAL · quickstart
you@aios ~/tardi_buyer %

llm

llm.chat(messages)One completion on whichever core the scheduler picks.0.6 s
llm.chat_json(messages, schema)Output forced to your JSON schema.0.8 s
llm.tool_call(messages, tools)The model picks tools. The kernel runs them.0.9 s

memory

mem.create(agent, text)Write a memory note for this agent.12 ms
mem.search(agent, query, k)Semantic recall over its own notes.18 ms
mem.update(id, text)Rewrite a note in place.9 ms

storage

sto.write(path, bytes)Every write is a version you can roll back.8 ms
sto.rollback(path, n)Go back n versions. Asks you first.7 ms
sto.share(path, pid)Let another agent read a file.5 ms

chain

chain.swap(token, amount, minOut)Buy or sell on a Pons curve or Uniswap v4.0.2 s
chain.pay(to, amount, token)Send ETH, USDC or a stock token.0.1 s
chain.price(symbol)A quote simulated against the live contract.40 ms
chain.watch(event)Wake up on TokenLaunched or a price line.push
chain.balance(who)ETH, coins and stock tokens held.30 ms

access

access.ask(user, action)Pause and wait for a human to sign.you
access.grant(pid, scope)Let one agent read another one.3 ms

Not affiliated with Robinhood, Pons, Tesla, NVIDIA or the AIOS Foundation.