Autonomous AI agent for safe, verifiable goal execution.
Read Aidon documents at DeepWiki:
Built for the Meta Global AI Developer Hackathon (The entire codebase was made between October 26 โ November 4, 2026).
This project showcases four capabilities. Meta models power its main agentic reasoning and optional image and speech to text features, alongside the supporting models and services described below:
- Human Natural Language and Interview as source input โ Understands goals in plain natural language and can interview the user to fill in missing details, so people without programming or AI experience can drive an autonomous agent simply by talking to it. Plan mode is the default; users can choose Ask mode for a guided interview that produces a verified spec before planning. The same conversation works in chat, on WhatsApp or Slack, or on the command line.
- Grows its own capabilities with tools/skills creation โ drafting, sandbox-testing, and adopting tools and skills that plug into its agentic workflows, including niche ones tailored to a user's own task. A tool plugin is a directory with a manifest and module files: it is tested in the sandbox first, scanned for unsafe patterns, and adopted only on human approval, after which its tools are usable immediately in the current run and every later goal. Skills follow a candidate โ validated โ trusted lifecycle, and only trusted skills enter plan prompts.
- Keeps a human in the loop for decision โ every consequential action passes through human review and approval before it goes live, with verification and rollback on failure, so the agent's autonomy never outruns its owner's consent. Nothing unproven goes live: work runs in a sandbox first, is verified by code, and only failed steps are repaired (at most 3 attempts); the approval card itself fails closed on timeout, and approvals can also be given by replying approve or reject on WhatsApp or Slack.
- DAG graph generation of workflows after successful runs โ plans are represented as directed acyclic graphs of steps with dependencies, deliverables, and acceptance criteria, so the agent knows what depends on what and what "done" means for each step. Eligible successful workflows are saved and can be recalled and adapted to similar goals, reducing repeated planning work over time.
Meta models used:
- Muse Spark Open (from Baseten API) โ the reasoning engine: goal understanding, interviewing, plan and DAG construction, recalling and adapting past workflows, repairing failed steps, and verifying results. Lightweight phases can use a fast model tier to keep costs down.
- Muse Image 1.0 โ generates and edits images and diagrams for workflows that need them, through the same API key and endpoint as the chat model, with generation approval-gated and credit-aware.
- Muse Voice Transcribe โ speech-to-text that lets users speak to the agent in natural language instead of typing, via a transcribe tool backed by Meta's transcription API.
- Llama 3.2, served through local Ollama, handles the front-end chat experience.
Note: Aidon is still under active development โ it was built during this 10-day hackathon, and not all planned agentic capabilities are implemented yet.
Give Aidon a goal in plain language, in chat, on WhatsApp or Slack, or on the command line. Aidon will:
- Choose a mode โ Plan mode is the default. Choose Ask mode for a guided interview that turns chat answers into a verified spec; an attached spec sheet can also provide the requirements, or run straight through in Execute mode.
- Research and recall โ web search and YouTube, plus hybrid recall over past episodes and knowledge, facts only if a source excerpt contains them
- Plan โ steps, deliverables, and criteria, as a DAG, not a loose list
- Sandbox โ execute in Modal Sandbox, Docker, subprocess, or on a VM over SSH, verify by code (with an optional model second opinion, off by default), repair only failed steps, at most 3 attempts
- Approve (you) โ one decision card before any live action, fail-closed on timeout
- Live โ execute only what was approved, verify, rollback on failure
- Learn โ persist the DAG and new skills, so the next similar goal reuses and adapts, saving tokens and calls
Aidon was created to address a simple problem: many people want to use AI to accomplish complex tasks but don't know how to write effective prompts or guide an AI through the necessary steps. So I say, why not let AI itself figure out the workflow on how to complete its user's goal, while utilizing as little time and tokens as possible. Aidon aims to bridge that gap by enabling users to express their goals in natural language while the agent plans, builds the capabilities it needs, and validates its work.
All code in this repo was written from scratch during the Meta Global AI Developer Hackathon (October 26โNovember 4, 2026). The implementation is still under development, with components continue to be tested as more features are added and deployed.
The demo uses Meta's Model API at runtime for Muse Spark reasoning and optional Muse Image and transcription, alongside the supporting services listed below.
./setup.sh
# Fill in your own endpoint, key, and model name in $AIDON_HOME/.env
./launch.sh # WebUI at http://127.0.0.1:8765/
./launch.sh --cli # conversational command-line chat
./launch.sh goal "Plan a dinner for two"- Features โ the four hackathon capabilities and Mermaid workflow diagrams.
- Installation โ prerequisites, setup, and launch.
- Configuration โ models,
.env, and the Aidon home. - Usage โ WebUI and messaging, core loop, spec sheet, tools and plugins, triggers, research and live execution, budgets, trace, v1 API, and MCP.
- Security notes โ trust boundaries and safe operation.
- Architecture โ run order, components, storage, and security boundaries.
- Roadmap โ what is built, what is not built yet, and what is post-hackathon, NOT built, NOT demoed.
- Main agentic model: Muse Spark Open, from Baseten API.
- Speech, when voice is on: Muse Voice Transcribe, speech-to-text only.
- Images, optional, only if a workflow requires one: Muse Image 1.0, as a tool, not as the agent.
- Segmentation, for video editing: SAM, via the Meta Model API Responses API.
Meta is one part of Aidon's model and infrastructure stack. The other components handle local conversation, decision routing, memory, voice output, and execution:
- Front-end chat: Local Ollama serving Llama 3.2 handles lightweight conversational turns in the configured setup. This keeps the more expensive Muse Spark calls focused on agentic planning and tool work. Aidon supports Ollama's native chat API; the model choice is configurable.
- Decision model: Clef 9B in the deployed setup handles compact routing and ranking decisions, including intent routing and workflow selection. The model ID is configurable. Modal serves the Clef inference endpoint.
- Embedding model and vector store (RAG): Google EmbeddingGemma 2 (
google/embeddinggemma-2), loaded locally through Sentence Transformers and PyTorch, turns text and images into dense embedding vectors. Withsqlite-faissorsqlite, SQLite stores memory points and metadata; optional FAISS CPU indexes dense vectors. Withqdrant, Qdrant stores points under the Aidon home or at the configured server. Automatic selection preserves an existing/configured Qdrant store, otherwise prefers SQLite+FAISS and falls back to Qdrant, then plain SQLite. SetAIDON_MEMORY_BACKENDto force a backend. Optional FastEmbed/SPLADE adds learned sparse retrieval; keyword vectors are used when it is not enabled. - Speech output: Fish Audio provides text-to-speech. Muse Voice Transcribe, listed above, handles speech-to-text.
- Sandbox and inference hosting: Modal runs the configured remote sandbox and Clef inference service. For local execution, Aidon also supports Bubblewrap and Docker; an SSH connection can target a VM the owner already operates.
- Other optional integrations and libraries: Tavily or SearXNG for web search; YouTube Data API, Gmail API, and Slack API for their respective features; Playwright MCP for browser automation; Three.js and three-vrm for the optional 3D avatar viewer. FFmpeg and Pillow support video and image processing. These integrations require their own local configuration or credentials when used.
Aidon has no central Aidon-hosted service: run the app and WebUI on your own computer or server. Local model, memory, and sandbox options keep their data on that machine. If you select Modal, the configured sandbox workdir is sent to Modal for remote execution; integrations such as Fish Audio, Gmail, or Slack also send the data required for that feature to their providers. Keys remain in your local Aidon configuration, outside this repository.
Code lives in src/, grouped, not flat:
src/system/โ config, model client, andmain.py, the entry pointsrc/memory/โ SQLite + FAISS and Qdrant memory stores, EmbeddingGemma embeddings, application records, entity graph, KB, experience, redactionsrc/agentic/โ goal loop, DAG, adapt, swarm, interview, validation, budgets, trace, researchsrc/interface/โ WebUI, messaging, v1 API, MCP, triggers, scheduler, approval, run controlsrc/capabilities/โ sandbox and execution, tools and plugins, search, voice, GitHub, email, image, charts, Unity, Playwright MCP, SAM, videosrc/social/โ one-way social publishing, Threads and Instagram, plus YouTube search, metadata, and transcriptsdocker/โ Dockerfile, build ignore rules, and the opt-in desktop demo launchercompose.yamlโ the single Docker Compose file, with standard, development, desktop, and clean-home profiles
Run it with python -m src.system.main goal "...", or ./launch.sh goal "...". src/ itself has no modules at the top level, only __init__.py and the groups.
The items below are ideas only, for direction. The full items are not in this repository; small parts of the first two exist (see below).
- Procedural 3D game-asset generation. Cube, sphere, and cylinder primitives exist; a game maker asking for an arbitrary crate, chair, or sword gets no usable mesh yet.
- Dedicated live toolset. Individual live tools exist (YouTube, webcam); a dedicated live toolset as a subsystem, distinct from sandbox tools, does not yet.
- Stronger sandbox backend (spike). A Tier-2 backend behind the isolation seam, with bubblewrap staying default until the probes say otherwise.
- Deterministic plan validation. A canonical plan format plus a cross-file validator, so plan, ledger, and deliverables must agree by code before approval.
- Biological Simulation Layer with Fruit fly connectome: Explore bio-inspired neural circuits, reinforcement learning with reward signals, adaptive neural processes, and emergent decision-making, investigating whether increasingly integrated learning, memory, motivation, and self-regulation could give rise to more complex agent behaviorsโand, as a long-term open research question, whether any form of machine sentience could emerge.