Skip to main content

Examples

In plain terms

These pages are short recipes. Copy a snippet, then go run a real file. Full programs (with comments, env vars, extra cases) live here: github.com/agentiumOS/agentium-examples

Ask a question

new Agent + run() + tools + Agent.deep()

Remember a chat

Same sessionId = memory. Facts, notes, learnings.

Tools

defineTool and built-in toolkits

Save to a database

SQLite / Postgres / Mongo — memory: { storage }

The two options people mix up

Every field: Agents.