{"schema_version":"1.0","generated":"2026-10-09","documents":[{"title":"Get started with ChaozCode","url":"/getting-started/","description":"From first sign-in to your first useful workflow, in your own account.","text":"From first sign-in to your first useful workflow, in your own account. ChaozCode brings your repositories, your research and the context you want to keep into one signed-in workspace, with AI that works from all three. This guide takes you from the dashboard to a first piece of real work in about ten minutes. Everything here happens in your account. A new account starts empty and fills up only with what you create, connect and save — there is no sample data to clear out first. Open your dashboard. After you sign in you land on the dashboard. Its widgets — credits, usage, Quick Access and bookmarks — are read from your account and your plan, so a new account shows empty lists and full allowances. Pick a starting point. Open Apps or a Quick Access tile. If you write code, start with Projects; if you have a question to answer, start with Zearch; if you have notes or decisions worth keeping, start with Memory Spine. Bring in your work. In Projects, create a repository or connect an existing one. It belongs to your account, and only you (and anyone you deliberately share with) can see it. Put AI to work on your context. ChaozAI and the connected tools read from your account: your projects, your saved memories and your research history. The more you add, the more specific their answers become. Make the account yours. Open Account Settings to set your profile, tighten security, review billing and choose how ChaozCode notifies you and looks. See Your account and settings. A new account starts empty. Projects, research history, memories and your knowledge graph begin with nothing in them and grow only as you use them. Every number in the app is a count of your own data. Your plan sets the limits. Memory, search and API allowances come from your plan. The table below is read live from API Manager, and when you are signed in your plan is highlighted. Only your data is visible. Each account sees its own data. Requests for another account's data, or for system-wide data, are refused for regular accounts. Pin apps, sessions or repositories to Bookmarks on your dashboard for one-tap access. Signed in to ChaozCode in this browser? These docs highlight your own plan in every limits table. Lost? Press Ctrl K (or ⌘ K) anywhere in the docs to search. Do I need to install anything? No. ChaozCode runs in the browser. Developers who want to automate it can create an API key later — see Developer resources. Why is my dashboard empty? Because the account is new. Lists and counts fill up as you create projects, run searches and save memories."},{"title":"Plans and limits","url":"/tiers/","description":"What your plan includes, how its limits work, and how to change plans.","text":"What your plan includes, how its limits work, and how to change plans. Every ChaozCode account is on a plan. The plan sets your allowances — how many memories you can keep, how many searches and API calls you can make — and a few features that sit on higher plans. Plan names and numbers on this page are read live from API Manager, the same rows the platform enforces, so they are never out of date. Signed in to ChaozCode in this browser? Your own plan is highlighted in the table. See your current plan. Open Account Settings → Billing. It shows the plan your account is on and your payment details. See what you have used. Open API Manager → Usage & Quota. It counts your account's use against the allowances in the table below. Compare and upgrade. Open Upgrade in ChaozCode to compare plans side by side and move to a higher one. A higher plan raises your allowances as soon as the change is made. Allowances are per account. Your allowances count your own use only. Another account's activity never uses up yours. Over a limit, the action is refused. When you reach an allowance, the action that would exceed it is refused with a message naming the limit — a memory save, for example, stores nothing. Delete what you no longer need or move to a higher plan. Features follow the plan too. Most products are on every plan. Where a view needs a higher plan — whole-graph analytics in the knowledge graph needs the Pro plan or above — the app opens and that view tells you which plan it needs. Unlimited allowances show as Unlimited in the table. Some accounts carry an older plan name. API Manager maps it to a current plan, and the table highlights that plan. Calls made with a provider key in your vault are billed by that provider to you. See Bring your own API keys. Where are the prices? On the Upgrade page in ChaozCode, next to the plans you can buy. This page lists what each plan allows. What happens to my data if I change plans? It stays in your account. Allowances change; your projects, memories and history do not move."},{"title":"Bring your own API keys","url":"/api-keys/","description":"Store provider keys (OpenAI, Anthropic and others) in your vault, and create the ChaozCode keys that act for you.","text":"Store provider keys (OpenAI, Anthropic and others) in your vault, and create the ChaozCode keys that act for you. There are two kinds of key, and both live in your API Manager vault. A provider key lets ChaozCode call an outside AI provider, such as OpenAI or Anthropic, on your behalf. A ChaozCode API key lets your own software call ChaozCode as you. This guide covers adding a provider key and creating a personal key. The full tour of API Manager is in Use API Manager. Open the vault. In ChaozCode, open API Manager. My Keys lists your personal ChaozCode keys; Providers lists the provider keys you have added. Add a provider key. Choose Connect Provider, pick the provider and paste the key from that provider's dashboard — or sign in with the provider where it supports that. Give it a label you will recognise later. Create a ChaozCode key. In My Keys, choose Add Key (or Create your first key) and pick its environment. The key is shown in full only once — store it in a secret manager straight away. Check who the key is. Call GET /api/v1/public/me.php with Authorization: Bearer <key>. It returns the account, plan and permissions the key acts as. Tutorial 03 walks through it. Your vault is yours. Keys you add are stored for your account. Other customers never see or use them. Provider usage is billed by the provider. When a provider key from your vault is used, the call is your account's usage at that provider and is billed by the provider to you. A ChaozCode key acts as you. It sees exactly what your account sees and counts against your plan's API allowance, shown live below. One key per integration: revoking it then breaks exactly one thing. Revoke a key in API Manager the moment you suspect it leaked, then create a new one. Never paste a key into a project description, a memory or a support request — only into API Manager. Can a provider key call the ChaozCode API? No. A provider key only lets ChaozCode call that provider. To call ChaozCode, create a ChaozCode key in My Keys. I lost a ChaozCode key. Can I see it again? No — it is shown in full only once. Create a new one and revoke the lost one."},{"title":"Features you can use","url":"/features/","description":"A tour of each ChaozCode product and what it does with your data.","text":"A tour of each ChaozCode product and what it does with your data. ChaozCode is a set of products that share one account. Each one does a single job well, and because they all read the same account, the work you do in one makes the others smarter. ChaozAI — your assistant. Chat about your code: explain it, debug it, refactor it, test it or plan the next feature, with the models your plan includes. Every thread is kept. Use ChaozAI → Projects — your code. Browse, create, search and manage the repositories your account owns or has been given access to, with live sync status on every card. Use Projects → Zearch — your research. Run a quick multi-engine search or a deeper, multi-source research pass. Every run is saved to your own history. Use Zearch → Memory Spine — your context. Save the decisions, notes and facts you want to keep, then search, pin, summarize and explore them later. Only your memories are searched. Use Memory Spine → Knowledge graph — your structure. See your own code and content as a graph of files, functions and the relationships between them. It grows as your repositories do. Use the knowledge graph → Venv — your workspace. Files, repositories, settings, a database and a Python environment that belong to your account alone, with your storage use on hand. Use Venv → API Manager — your keys. Create the keys that act for you, connect outside AI providers, grant and revoke access, and see your usage. Use API Manager → Account & Apps — your controls. Identity, security, billing, notifications, appearance, connected apps and privacy, in one place. Your account → Availability follows your plan. ChaozAI, Projects, Zearch, Memory Spine, Venv and API Manager are on every plan. HelixHyper, the knowledge graph, is on every plan too; only whole-graph analytics (ranking across the entire graph) needs the Pro plan or above. Every product reads your data. Nothing is pre-filled with sample content. What each product shows is what you have created, connected or saved. One account, shared context. A repository you add in Projects can be searched in Zearch and mapped in your knowledge graph, without connecting it twice."},{"title":"Connect your account","url":"/connections/","description":"Set up the repositories, sources and keys ChaozCode uses on your behalf.","text":"Set up the repositories, sources and keys ChaozCode uses on your behalf. ChaozCode is only as useful as what it can reach. Connections are how you give it that reach — a repository to read, a research source to search, a provider key to call a model with — on your terms and for your account alone. Start with your Apps menu. Open the Apps menu in the top bar and choose Customize (on a phone, open the menu and tap Customize at the bottom) to see the apps on your account and choose which appear, where, and how each one looks and behaves. Security & Privacy is a tab in Account Settings. Repositories. Use Projects to create or connect repositories. You see your own; another account's repository appears only if its owner has published it. Research sources. In Zearch, open Sources to pick search engines. Codebase and GitHub become available once those sources are connected to your account. Provider keys. Keys for providers such as OpenAI or Anthropic go in your API Manager vault. ChaozCode uses them to call those providers for you. They are not the same thing as your ChaozCode API key. Keep secrets in the vault. Enter credentials only in ChaozCode's account and integration controls. Never paste a secret into a project description, a memory or a support request. Connections are per account. A repository, source or provider key you connect is available to your account only. Connecting something never exposes it to other customers. Your keys, your usage. When a provider key is in your vault, calls made with it are your account's usage, billed by that provider to you."},{"title":"Common workflows","url":"/guides/","description":"Short, task-first recipes for everyday work in your account.","text":"Short, task-first recipes for everyday work in your account. Recipes for the things people do every day. Each one is a path through the app — follow the arrows. For longer, step-by-step walkthroughs with expected results, see the Tutorials. Pick up a project. Projects → search or filter → open the repository → check its sync status before you change anything. Behind or erroring? Refresh first. Answer a question. Zearch → choose Quick or Deep Research → pick Sources → run it → read the cited sources, not just the summary. The run is saved to your History. Find something you saved. Memory Spine → Search → describe it the way you would to a colleague → narrow by time or tags → pin anything you will need again. Keep something for later. Memory Spine → Ingest → write it so that future-you understands it without context. Each memory counts toward your plan's memory allowance. Change a preference. Account Settings → pick a tab: Profile, Account, Security, Billing, Notifications, Appearance, Apps or Privacy. Your work stays put. Projects you create, research you run and memories you save stay with your account and are there the next time you sign in, on any device. Each recipe feeds the others. Research you save as a memory turns up in Memory Spine searches; repositories you add show up in Zearch's Codebase source and in your knowledge graph."},{"title":"Your account and settings","url":"/account/","description":"Manage the identity, plan and preferences of your ChaozCode account.","text":"Manage the identity, plan and preferences of your ChaozCode account. Account Settings is where you decide who you are on ChaozCode, how your account is protected, what you pay for and how the product treats you. Eight tabs, each with one job. Profile. Your public identity: name, avatar, bio and social links. Account. The identity behind the profile: your email address and core account information. Security. How you sign in and how that is protected. Review it whenever you change devices or suspect something is off. Billing. Your current plan and payment details. Notifications & Appearance. How and when ChaozCode contacts you, and how the interface looks for you. Apps & Privacy. Applications connected to your account, and the controls for your data. Your plan decides your limits. Memory, search and API allowances follow your plan; a higher plan has higher allowances. The table below is live from API Manager. See what you have used. Open API Manager → Usage & Quota to see what your account has used against those allowances. Older plan names. Some accounts carry an older plan name. API Manager maps it to a current plan, and the table below highlights that plan. What happens when I reach a limit? The request that would exceed it is refused and nothing is stored or charged — for example, saving a memory past your memory allowance fails with a clear message. Free up room or move to a larger plan. Does changing my profile change my sign-in? No. Profile is what others see; your sign-in details live under Account and Security."},{"title":"Help and troubleshooting","url":"/help/","description":"Fix the common account, access and workflow problems — fast.","text":"Fix the common account, access and workflow problems — fast. Most problems have a short answer. Find the symptom below; if it is not here, contact support — tickets sent while you are signed in arrive with your account context attached. An app says it needs a higher plan. That feature is on a higher plan than yours, and the message names the plan it needs — whole-graph analytics in HelixHyper, for example, needs the Pro plan or above (on a lower plan the app opens, and that view shows the error). Compare plans under Account Settings → Billing. A project is missing. Projects lists your own repositories. Check the Personal view and clear any filters. Another account's repository appears only if its owner has published it. A list or graph is empty. New accounts start empty. Memories, research history and your knowledge graph fill up as you save, search and connect repositories. Saving a memory fails. You have probably reached your plan's memory allowance; the save is refused and nothing is stored. Check Usage & Quota, delete memories you no longer need, or upgrade. Search does not find it. In Zearch, check the mode and Sources. In Memory Spine, widen the time window and drop restrictive tags — only your own memories are searched. Sharing a screenshot with support. Crop or blur passwords, tokens, private keys and other credentials first. Support never needs them. Support sees your account context. Tickets sent while you are signed in are linked to your account. Describe what you did and what you saw; you do not need to include account details."},{"title":"Developer resources","url":"/developers/","description":"Build against ChaozCode with your own account and API key.","text":"Build against ChaozCode with your own account and API key. Everything you can do in the app starts as an account action — and a personal API key lets a script take those actions for you. This page orients you; the API reference is the contract, and Tutorial 03 walks through a first call. Prove it in the app first. Confirm the feature does what you need for your account in the product UI. An API call can only do what your account can. Create a personal key. In API Manager → My Keys, create a key and store it in a secret manager — it is shown in full only once. Your browser session and your API key are separate credentials. Check who the key is. Call GET /api/v1/public/me.php with the key. It returns the account, plan and permissions the key resolves to — the identity every later call runs as. Build on the supported contract. The API reference lists the customer-callable routes, with an OpenAPI 3.1 file and a lifecycle policy. Internal service endpoints are not part of it. Ship an app inside the shell. To publish an app that opens inside the ChaozCode shell, follow Build an app for the ChaozCode shell: the module contract, build, hosting, Marketplace review and the host API. Feed your agents. Point AI tools at /llms.txt, /llms-full.txt and /platform-capabilities.json for machine-readable platform context. Your key acts as your account. A request made with your API key sees exactly what your account sees and counts against your plan's API allowance. Data stays scoped. API responses are limited to your account's data, exactly as in the app. There is no API-only way around a scope. Treat 401 as \"fix the credential\", 403 as \"this identity may not\", and 429 as \"wait for the allowance\" — never retry a 403. Keep .php on customer endpoints; the extensionless paths are different routes."},{"title":"Use Memory Spine","url":"/memory-spine/","description":"Save, search and reuse the context you never want to explain twice.","text":"Save, search and reuse the context you never want to explain twice. Memory Spine is your long-term memory on ChaozCode: the decisions, facts, snippets and lessons you want to find again — and want your AI tools to know. You write a memory once; after that you search for it the way you would ask a colleague. It is personal. Every search, timeline and chart in Memory Spine covers your own memories and nothing else. Find. Search answers a description in plain language. Recent shows what you saved last, Pins keeps the memories you reach for often, and Timeline lays everything out by date. Write. Ingest is how a memory gets in. Write it so it makes sense on its own — what was decided, why, and where it applies — and add tags you would search by. Understand. Analytics shows the shape of what you have saved. Summarize rolls a tag or query up into key points and a written summary, Similar finds memories whose meaning is close to one you pick — even without shared words — and Explain shows where a memory ranks for a query and which terms carried it. Your memories only. Memory Spine holds what you saved. Search, Recent, Timeline and Analytics count and show your own memories — a new account starts at zero. Counted against your plan. Each memory counts toward your plan's memory allowance. At the allowance, saving is refused and nothing is stored. Personal scope. Regular accounts work in their own scope. Requests for system or other accounts' scopes are refused. One idea per memory. Small memories are found more precisely and summarized more cleanly than long ones. Pin the handful you use weekly — Pins is faster than any search. Before saving something important, run Similar on a related memory — you may already have it. Can other people see my memories? No. Memory Spine is scoped to your account, and searches never cross into anyone else's. What happens when I reach my memory allowance? New saves are refused until you delete memories or move to a plan with a larger allowance. Nothing already saved is removed."},{"title":"Use the knowledge graph","url":"/knowledge-graph/","description":"See your own code and content as a living map of entities and relationships.","text":"See your own code and content as a living map of entities and relationships. Your knowledge graph — HelixHyper in the app — turns your repositories and content into a map: every file, function and test is a node, and every contains or imports is an edge between them. It answers the questions a file tree cannot: what depends on this, how are these two things connected, and which parts of my code cluster together. Open your graph. Open HelixHyper from Apps. The overview shows the nodes, edges, communities and average degree of your graph — a quick read of how big and how connected your work is. Explore. Search, Graph, Nodes, Edges, Communities and Path let you look up an entity, see its neighbourhood, and trace the shortest route between any two. Watch it change. Analytics, Versions, Snapshot Diff and Activity show how your graph is shaped and what changed between snapshots. Ask it. Use Ask your graph for plain-language questions, or Graph search when you know the exact name. A personal, account-scoped graph. The app labels it Personal — account-scoped knowledge graph. Its node and edge counts are counts of your graph, not of the platform. Built from your work. Nodes come from your own code and content — source files, functions and tests in your repositories — joined by relationships such as contains and imports. A new account's graph is small and grows as you add repositories. Plan. The knowledge graph is on every plan. Whole-graph analytics (ranking across the entire graph) needs the Pro plan or above; on a lower plan that view names the plan it needs, and everything scoped to your own repositories still works. Use Path before a refactor: it shows everything between the code you are changing and the code you are worried about. Communities often match the modules you meant to have — and reveal the ones you did not."},{"title":"Use Zearch","url":"/zearch/","description":"Research the web, your repositories and your connected sources — with citations.","text":"Research the web, your repositories and your connected sources — with citations. Zearch is research with receipts. A quick search fans out across several engines at once; Deep Research goes further, reading multiple sources and synthesizing an answer you can check line by line. Connect your repositories and it searches your own code too. Quick search. For a focused lookup. Quick returns fast results from several search engines at once. Deep Research. For a question that needs more than one page to answer. Deep Research gathers several sources and writes a synthesis — read the cited sources before you rely on it. Choose your sources. Open Sources to pick engines. Codebase and GitHub search repositories connected to your account. Keep and share results. History lists every run you have made. Export takes results out of ChaozCode when they need to live somewhere else. Your history. History shows your own searches only. A new account's history is empty until you run your first search. Your sources. Codebase and GitHub results come from repositories connected to your account, never from other customers' code. Counted against your plan. Searches count toward your plan's search allowance. Name the decision in the query — \"which queue should we use for 10k jobs/min\" beats \"message queues\". Fewer, better sources beat more sources. Turn off engines that do not fit the question."},{"title":"Use Projects","url":"/projects/","description":"Manage the repositories and project work in your account.","text":"Manage the repositories and project work in your account. Projects is the home for your code on ChaozCode: every repository your account owns or can reach, with its live sync state on the card, so you know where things stand before you touch them. Find a repository. Search by name, then narrow with the category and status filters. The Personal view shows only what your account owns. Read the status. Each card shows whether a repository is synced, has uncommitted changes, is ahead or behind its remote, is refreshing, or has hit an error. Create and refresh. Use New to create a repository or project, and Refresh to fetch the current state of your repositories. Your repositories. The list shows repositories your account owns, plus any you have been given access to. Another account's repository appears only if its owner has published it. Team projects. Team projects and tasks are visible to members of that team, according to each member's team permissions. Behind or erroring? Refresh before you start work — it is cheaper than a conflict. Turn a project into trackable work with Tutorial 02."},{"title":"Use ChaozAI","url":"/chaozai/","description":"Chat with AI about your code: explain, debug, refactor, test and plan, with the models your plan includes.","text":"Chat with AI about your code: explain, debug, refactor, test and plan, with the models your plan includes. ChaozAI is the chat workspace in ChaozCode. Paste a function and ask what it does, drop in a stack trace and ask for a fix, or describe a feature and get it broken into milestones — then keep the conversation and come back to it. Your conversations belong to your account, and the model picker lists the models your plan includes. Start a conversation. Choose New chat, or start from a card such as Explain this code, Debug an error, Refactor a function, Write tests, Summarize a long document or Roadmap a feature. Press Enter to send and Shift+Enter for a new line. Pick a mode. Chat is for quick questions and answers, Code for coding-focused responses, Plan for read-only planning and analysis, and Agentic for long-running autonomous execution. Switch it next to the message box at any time. Choose a model. The model picker lists the models available to your account. A model marked with a lock is one your plan does not include. Add context. Use Attach files to include files with your message. Type / to open the command palette, and press ? for the full list of keyboard shortcuts. Keep the thread. Every conversation is saved under Threads. Search conversations, filter by Today, This week, Pinned or Archived, pin the ones you return to, and export a conversation as Markdown from its menu. Your threads only. The Threads list shows the conversations you started. Nobody else on ChaozCode sees them, and a new account starts with an empty list. Models follow your plan. Which models you can pick depends on your plan, so two accounts can see different lists in the same picker. Usage counts toward your plan. AI usage counts against your plan's allowances. See what you have used in API Manager → Usage & Quota. Paste the exact error text, not a description of it — a stack trace gets a far better answer than \"it crashes\". Use Plan mode when you want analysis without changes, then switch to Code to write it. Save the conclusion of a long thread to Memory Spine so you never need the thread again. Why is a model in the picker locked? Your plan does not include it. Compare what each plan includes at chaozcode.com/pricing. Can other people read my conversations? No. Threads are scoped to your account. Can I take a conversation with me? Yes — export it as Markdown from the conversation's menu."},{"title":"Use Venv","url":"/venv/","description":"Your own workspace: files, repositories, settings, a database, a Python environment and your memories, scoped to your account.","text":"Your own workspace: files, repositories, settings, a database, a Python environment and your memories, scoped to your account. Venv is your private corner of ChaozCode — the place where your files, repositories, workspace settings, database and Python environment live, all under your control. It is also the boundary for the tools: code analysis, search and memory work inside your workspace, nothing outside it is readable from your account, and no other user can read yours. Workspace. Overview sums up your repositories, disk used, Python packages and memories, and lists each area — repos, your Python environment, data, files, uploads, published and .cache — with its size. Files searches the full text of your workspace, Repos lists your repositories, and Configs holds workspace settings such as your default repository and the workspace manifest (venv.json). Runtime. Database shows your workspace database and lets you run a query; it is created the first time something writes structured data. Plans lists the PlanZ plans that belong to your account. Python is your own environment — packages installed there cannot see or change system packages. Quota shows how much space you use and where it goes. Data. Memories shows what your account has stored in its own Memory Spine. Export lets you choose what to include and download a single .tar.gz archive of your workspace. A private boundary. Every area in Venv belongs to your account. Paths outside it — system repositories, the platform's own memory — are not readable from your account. Storage follows your plan. Your workspace allowance is your plan's storage, read from API Manager; Quota shows your use against it. The table below is live. Created as you go. A new workspace starts nearly empty: the Python environment and the database are created the first time something needs them. Check Quota → Where the space goes before deleting anything — the cache refills itself and is usually not the problem. Export before a big change. A single archive is the simplest backup you can make. Set a Default repository in Configs so tools know where to look first. Can another user see my workspace? No. Your venv is scoped to your account, and no other user can read it. What is the .cache area? A working cache. It is safe to ignore and refills itself. What happens when I reach my storage allowance? Quota shows you where the space goes so you can free it, or you can move to a plan with more storage."},{"title":"Use API Manager","url":"/api-manager/","description":"Your keys, connected providers, access grants, webhooks, usage and rate limits in one vault.","text":"Your keys, connected providers, access grants, webhooks, usage and rate limits in one vault. API Manager is the vault for everything that lets software act on your behalf: your personal ChaozCode API keys, the provider keys you bring (such as OpenAI or Anthropic), who has been granted access, and how much you have used. When something calls ChaozCode as you, API Manager is where you create that credential, watch what it does, and revoke it. Vault. My Keys holds your personal ChaozCode API keys, filterable by environment — Production, Staging, Development and Testing. Choose Add Key (or Create your first key); a new key is shown in full once, so store it in a secret manager. Master Keys can be limited to the services they may call and given an expiry, and Providers holds keys for outside AI providers. Logs and access. Audit Log records keys as they are created, rotated, used or revoked. Grants & Access gives a key to a service or app — revoking a grant removes that access immediately. Connect Provider links an outside provider, by pasting a token from its dashboard or signing in where the provider supports it. Data and apps. Webhooks notify you when keys are created, rotated or revoked. Export / Import moves your keys between vaults. Keys & Tokens holds the credentials ChaozCode apps use for you, such as Git tokens and SSH public keys. Account. Usage & Quota shows what your account has used against your plan, Rate Limits shows how fast you may call, and Settings holds your API Manager preferences. Your keys act as you. A personal key calls ChaozCode as your account — same data, same scope, same plan allowances. Pass it as Authorization: Bearer <key> on every request. Provider keys are separate. A provider key (OpenAI, Anthropic and so on) lets ChaozCode call that provider for you. It is not a ChaozCode key and cannot be used to call the ChaozCode API. Usage is yours. Usage & Quota counts your account's use only. The plan allowances it measures against are in the table below, live from API Manager. Export downloads your API keys in plain text. Anyone with the file can use them — keep it somewhere safe and delete it when you are done. One key per integration. Revoking a key then breaks exactly one thing. Tag keys by environment so a Testing key never ends up in Production. Prove a new key before building on it: Tutorial 03 calls me.php to show exactly which account it acts as. I lost a key. Can I see it again? No — a key is shown in full only once. Create a new one and revoke the lost one. What is the difference between my key and a provider key? Your ChaozCode key lets software call ChaozCode as you. A provider key lets ChaozCode call an outside AI provider for you. Where do I see what my keys have done? Audit Log records activity, and Usage & Quota shows the totals against your plan."},{"title":"Tutorials","url":"/tutorials/","description":"Three hands-on walkthroughs — research, project tracking and your first API call — each with prerequisites, exact steps and a way to check you got it right.","text":"Research a product question with Zearch. Run a source-aware search, judge the answer by its sources, and keep what is worth keeping. Most research goes wrong at the start — a vague question or the wrong sources. This tutorial builds the habit of fixing both before you read a single result. Prerequisites A signed-in ChaozCode account. Zearch available in Apps. A question that benefits from current external information. Steps Open Zearch from Apps or Quick Access. Use Quick for a focused lookup or Deep Research for multi-source synthesis. Open Sources and enable only sources appropriate to the question. Write a specific query that names the decision or output you need — \"which queue for 10k jobs a minute\" beats \"message queues\". Run the search and inspect returned sources before relying on the synthesis. Open History to confirm the run is saved. Export when results need to leave ChaozCode. Verify The query appears in History with its sources and results. Weak results usually mean the question or the source selection needs work — fix those before reaching for Deep Research. Found something you will need again? Save the conclusion and its source in Memory Spine so it turns up the next time you search. Troubleshooting No useful results: check Sources and query specificity. Repository results missing: confirm that source is connected to your account. Turn a team project into trackable work. Organize a team project into tasks and read real progress from task state. A project is only as trackable as its tasks. Small tasks with observable \"done\" criteria are what make the progress bar mean something. Prerequisites Membership in a ChaozCode team. Permission to create/edit projects for that team. Steps Open Projects and select the team you are working in. Create a project with a clear outcome, due date and priority—or open an existing one. Add concrete tasks with observable completion criteria. Move work through backlog, todo, in progress, review and done. Assign owners and due dates where coordination matters. Return to the project and verify task totals and progress. Verify Project progress reflects task state: move a task to done and the totals change. Team access decides which projects and tasks each member can see. Next Automate the same work through the API — see Tutorial 03 below, or the tasks.php routes in the API reference. Call the ChaozCode API with a personal key. Create a key, prove which account it acts as, and call a customer endpoint. Every integration problem is easier when you know exactly who your key is. Step 3 answers that before you build anything on top. 1. Create or rotate your ChaozCode API key Example account with no keys yet. Your list shows your own keys. Sign in and open API Manager → My Keys (chaozcode.com/auth/v2/api-manager), then choose Create your first key or Add Key. A newly generated ChaozCode API key is shown in full once. Store it in a secret manager. Provider keys such as OpenAI or Anthropic credentials are separate. 2. Store it locally export CHAOZCODE_API_KEY='czk_…'\nexport CHAOZCODE_API='https://chaozcode.com' 3. Verify identity and scope curl -sS \"$CHAOZCODE_API/api/v1/public/me.php\" \\\n  -H \"Authorization: Bearer $CHAOZCODE_API_KEY\" Each example comes in cURL, JavaScript (Node 18+) and Python 3 — pick a tab once and every example on the site follows. A successful response identifies your account, effective tier, permissions and pool context. 401 means the key is missing/invalid/expired; 403 means the identity lacks permission; 429 means an applicable limit is exhausted. 4. Call a customer endpoint curl -sS \"$CHAOZCODE_API/api/v1/customer/projects.php\" \\\n  -H \"Authorization: Bearer $CHAOZCODE_API_KEY\" The response lists the projects your account can reach through its team memberships — the same list you see in the app. Canonical customer PHP endpoints currently include .php. Do not remove it based on old examples. The extensionless /api/v1/public/tiers route is not equivalent to /api/v1/public/tiers.php on the live gateway."},{"title":"API reference","url":"/api/reference/","description":"Customer-callable routes verified against the live gateway and source. Internal/admin surfaces are intentionally excluded. Stability: supported customer contract.","text":"Customer-callable routes verified against the live gateway and source. Internal/admin surfaces are intentionally excluded. Stability: supported customer contract. Personal ChaozCode API key Send Authorization: Bearer <key>. The key resolves your account, tier and permissions. Authenticated session The web app uses the chaozcode_session cookie. Browser mutations use CSRF protection. Do not export session cookies to integrations. Provider credentials OpenAI, Anthropic, GitHub and other provider keys let ChaozCode call those providers. They do not authenticate the ChaozCode public API. Service tokens Platform service/injection tokens are internal trust-boundary credentials, not customer integration credentials. GET /api/v1/public/tiers.php None List customer-selectable plans; supports ?tier=X and ?limits=1. GET /api/v1/public/me.php Bearer API key Verify caller identity, tier, permissions and pool context. GET /api/v1/customer/account.php Bearer key or session Read your own account profile. GET /api/v1/customer/projects.php Bearer key or session List projects reachable through your team memberships. POST /api/v1/customer/projects.php Bearer key/session; browser CSRF Create/update/delete projects and manage members using action. GET /api/v1/customer/tasks.php Bearer key or session Task dashboard/list/detail/stats/filters/export via ?action=. POST /api/v1/customer/tasks.php Bearer key/session; browser CSRF Create/update/status/delete/comment/reorder/bulk/dependency actions. GET /api/v1/customer/usage.php Bearer key or session Your usage from API Manager (the one usage ledger): today/week/month, quota, costs (?days=1-90) and per-app breakdown. GET /api/v1/customer/team.php Bearer key or session Teams and memberships visible to the account. GET/POST /api/v1/customer/support.php Bearer key or session Read/create supported customer support ticket actions. GET/POST /api/v1/customer/apikeys.php Browser session recommended Inspect key metadata; regenerate or rotate the personal platform key. GET/POST /api/v1/services/memory/<path> Bearer + memory permission Personal Memory Spine proxy; read/search vs write permissions are operation-aware. GET/POST /api/v1/services/search/<path> Bearer + search permission Zearch proxy; deep research/code analysis requires search.deep. GET/POST /api/v1/services/agents/<path> Bearer + agent permission AgentZ execution uses agents.run; management uses agents.deploy. GET/POST /api/v1/services/router/<path> Bearer + AI permission ML Router queries use ai.query; training/feedback uses ai.train. 401 Authentication Missing, invalid, revoked or expired credential. Fix the credential. 403 Authorization Identity is valid but lacks the permission/tier, or account setup is incomplete. 429 Limits Respect Retry-After and rate-limit headers; the personal/team pool may be exhausted. 5xx Service failure Retry idempotent work with backoff. For mutations, establish whether the first attempt committed before resubmitting."},{"title":"Build an app for the ChaozCode shell","url":"/developers/shell-apps/","description":"Publish a runtime module through the Marketplace that opens inside the ChaozCode shell, with no shell rebuild: the module contract, build, hosting, review, the host API and every failure code.","text":"Publish a runtime module through the Marketplace that opens inside the ChaozCode shell, with no shell rebuild: the module contract, build, hosting, review, the host API and every failure code. A shell module is a single ES module that the ChaozCode shell loads at run time, inside its own page frame, after it has verified the file byte for byte. You build it with Vite, host it on the ChaozCode CDN, submit it through the Marketplace, and once an administrator approves it, every account that installs it sees it at /auth/v2/apps/<slug>. The shell is not rebuilt or redeployed for any of this. It already keeps React and the MADS design system as shared externals and exposes them through one import map, so a module built against the same externals is just a plain ES module the browser can import(). Chaoz Todo (slug chaoz-todo, repository /root/repos/apps/chaoz-todo) is the first module published this way. What a shell module is. Three parties share one contract. You, the app author, build the module. The Marketplace is the only place a runtime module is published, reviewed, installed and versioned. The shell host loads an installed module, verifies it and hands it a small, bounded host API. No shell rebuild. The shell resolves react, react-dom, @chaozcode/mads/*, framer-motion and lucide-react through the import map from https://design.chaozcode.com/v<MADS>/bootstrap.js. One React instance and one MADS instance serve the shell and every module. No second router. react-router-dom is deliberately not shared. Navigation goes through the host API. Nothing weakens an existing gate. The ordinary POST /api/marketplace/publish and the official publishing endpoint still refuse executable manifests. A runtime module always enters through POST /api/marketplace/developers/plugins and manual administrator review. Prerequisites. A ChaozCode account that is a verified developer in the Marketplace developer program. Node.js and npm, and a Vite project (the examples use Vite library mode). A slug for the app, lowercase letters, digits and hyphens (^[a-z0-9][a-z0-9-]{1,62}$). It must equal the slug of your Marketplace listing. Check your developer status first. The response must report status: verified; a submission from an account that is not verified is refused. # Signed in? Use your own session or key; the response describes YOUR account.\ncurl -s https://chaozcode.com/api/marketplace/developers/me \\\n  -H \"Authorization: Bearer $CHAOZCODE_API_KEY\"\n# expect: { ... \"status\": \"verified\" ... } The module contract. A module is one ES module file. Its default export has a manifest and a Component. import { Button } from '@chaozcode/mads/components';\n\nfunction Component({ host }) {\n  return <Button onClick={() => host.notify({ title: 'Hello', body: host.identity.displayName })}>Say hello</Button>;\n}\n\nexport default {\n  manifest: {\n    slug: 'chaoz-todo',             // must equal the Marketplace slug\n    version: '1.2.0',               // must equal manifest.plugin.version\n    name: 'Chaoz Todo',\n    permissions: ['ui', 'storage'], // must equal the declared set\n    minHost: 1,                     // host API major version this module needs\n  },\n  Component,                        // function Component({ host }) {...}\n}; Component is rendered by the host inside its page frame with one prop, host (see the host API reference below). Do not assume window.location, call ReactDOM.createRoot, or touch localStorage directly. Use host.storage. The no-react-router rule: a module must not import react-router or react-router-dom. A second router copy breaks context. Use host.navigate. Styling: use MADS classes (cx-*) and MADS components. MADS component exports are un-prefixed (Button, not CxButton); the cx-* class names carry the Cx vocabulary. CSS scoping: if you ship your own CSS, inject a <style data-cx-app=\"<slug>\"> element on mount and remove it on unmount, and scope every selector under [data-cx-app=\"<slug>\"]. The host puts that attribute on the mount element. The externals list (verbatim) These specifiers, and only these, may appear as bare imports in the built file. framer-motion and lucide-react are in the import map and may be declared external; everything else must be bundled into your file. 'react', 'react-dom', 'react-dom/client', 'react/jsx-runtime',\n'@chaozcode/mads', '@chaozcode/mads/components', '@chaozcode/mads/patterns',\n'@chaozcode/mads/icons', '@chaozcode/mads/studio', '@chaozcode/mads/design-system',\n'@chaozcode/mads/animated', '@chaozcode/mads/theme-tools',\n// not '@chaozcode/mads/designer': mapped since MADS 2.7.12, but its own deps are not\n'framer-motion', 'lucide-react', A minimal Vite config. Library mode, ES format, one output file, with the externals above. inlineDynamicImports matters: the host hashes exactly one file. export default {\n  build: {\n    lib: { entry: 'src/index.jsx', formats: ['es'], fileName: () => 'chaoz-todo.mjs' },\n    rollupOptions: {\n      external: [\n        'react', 'react-dom', 'react-dom/client', 'react/jsx-runtime',\n        '@chaozcode/mads', '@chaozcode/mads/components', '@chaozcode/mads/patterns',\n        '@chaozcode/mads/icons', '@chaozcode/mads/studio', '@chaozcode/mads/design-system',\n        '@chaozcode/mads/animated', '@chaozcode/mads/theme-tools',\n        // not '@chaozcode/mads/designer': mapped since MADS 2.7.12, but its own deps are not\n        'framer-motion', 'lucide-react',\n      ],\n      output: { inlineDynamicImports: true },  // ONE file; the host hashes one file\n    },\n  },\n} Local development. Develop against the same shared React and MADS the shell uses, so what you see locally is what the host will mount. Add the MADS stylesheet and the bootstrap script to a local test page; the script injects an import map that points react, react-dom and @chaozcode/mads/* at the CDN. Pin the MADS version the shell currently runs (the shell's own pages load design.chaozcode.com/v<version>/bootstrap.js; /latest/ floats and can drift from what your module is reviewed against). <link rel=\"stylesheet\" href=\"https://design.chaozcode.com/v2.7.11/mads.css\">\n<script src=\"https://design.chaozcode.com/v2.7.11/bootstrap.js\"></script>\n<div id=\"root\" data-cx-app=\"chaoz-todo\"></div>\n<script type=\"module\">\n  import React from 'react';\n  import { createRoot } from 'react-dom/client';\n  import mod from '/dist/chaoz-todo.mjs';\n  const host = { version: 1, /* a stub of the host API you need */ };\n  createRoot(document.getElementById('root')).render(React.createElement(mod.Component, { host }));\n</script> Your local host object is yours to write. Test with the real host before submitting: an approved module is loaded exactly as described under \"What users see\", and the administrator review includes loading it once as a non-admin test account. Build and the validity check. npm run build\ngrep -oE \"from ?['\\\"][^'\\\"]+['\\\"]\" dist/*.mjs A build is valid when that command lists only specifiers from the externals list. Anything else (a stray react-router-dom, a package you forgot to bundle) means the shell cannot resolve it and the module will fail with runtime. The publish helper runs the same check and refuses a file that fails it. Hosting on the CDN. The module is served from https://cdn.chaozcode.com/apps/<slug>/<version>/<file>.mjs. It is immutable (Cache-Control: public, max-age=31536000, immutable) with CORS Access-Control-Allow-Origin: https://chaozcode.com. A version directory is never overwritten: to change anything, publish a new semver. chaoz-app-publish <dist-dir> <slug> <version> [--entry file.mjs] [--dry-run]\n\n# preview first: validates imports, computes the hash, writes nothing\nchaoz-app-publish ./dist chaoz-todo 1.0.0 --dry-run\n\n# prints the two values the submission needs:\n#   package_url=https://cdn.chaozcode.com/apps/chaoz-todo/1.0.0/chaoz-todo.mjs\n#   package_sha256=<64 hex chars> Pass --entry when dist holds more than one .mjs file. The helper refuses a bare import the shell does not provide, refuses react-router, and refuses to overwrite a version directory that already holds different bytes. After a real publish it checks the file byte for byte and reports the edge status (edge_status=200 expected). The helper is a ChaozCode platform command and writes to the platform CDN root, so it runs on the ChaozCode host. Submission and review. Submit with POST /api/marketplace/developers/plugins. The product carries manifest.kind = \"reviewed-plugin\" and a manifest.plugin object for the shell host: {\n  \"host_app\": \"shell\",\n  \"version\": \"1.2.0\",\n  \"package_url\": \"https://cdn.chaozcode.com/apps/chaoz-todo/1.2.0/chaoz-todo.mjs\",\n  \"package_sha256\": \"<64 hex chars, SHA-256 of the exact bytes at package_url>\",\n  \"permissions\": [\"ui\", \"storage\"]\n} Field Rule package_url HTTPS, no credentials, fragment or port, and the origin must be https://cdn.chaozcode.com or https://design.chaozcode.com. Anything else is a 422 naming the allowed origins. package_sha256 Lowercase hex SHA-256 of the served bytes. The host refuses a module whose bytes do not hash to it. version Semver. Must equal manifest.version in the module. permissions A subset of ui, storage, network, read, write. The host exposes only what you declare. Ask for the minimum the listing describes. The product is unpublished until an administrator approves it. Paid independent plugins stay held until seller payout rails exist. Track the newest submission with GET /api/marketplace/developers/plugins. New versions The verified owner of an approved plugin submits a new {version, package_url, package_sha256} to POST /api/marketplace/developers/plugins/{app_id}/versions. The version must be semver, greater than the live version and never submitted before for that plugin; only one may wait at a time (409). The approved version stays live until the new one is approved; if it is rejected, the live version, its publication and your developer tokens are untouched. GET /api/marketplace/developers/plugins shows the newest submission as version_submission. The same 422 origin rule applies to every version. curl -s -X POST https://chaozcode.com/api/marketplace/developers/plugins/$APP_ID/versions \\\n  -H \"Authorization: Bearer $CHAOZCODE_API_KEY\" -H 'Content-Type: application/json' \\\n  -d '{\"version\":\"1.1.0\",\"package_url\":\"https://cdn.chaozcode.com/apps/chaoz-todo/1.1.0/chaoz-todo.mjs\",\"package_sha256\":\"<sha256>\"}' What users see. Once approved and installed, the app opens at /auth/v2/apps/<slug> inside a page frame with a header showing its name, version and permissions. The Marketplace listing and install responses carry plugin_status (pending, approved, rejected, suspended, or null for a non-plugin) and runtime. The host reads runtime, never manifest.plugin; runtime is present only while the review is approved, you are still a verified developer and the product is published. Suspend or unpublish, and the app stops loading. How the shell loads it, in order: Origin. The origin of runtime.package_url must be in the allow-list, else the load is refused (origin). Fetch. The file is fetched with mode: cors, credentials: omit, cache: no-store (network if it cannot be fetched). SHA-256. The bytes must hash to runtime.package_sha256, else refused (integrity). Blob import. The verified bytes are imported from a blob: URL, never from the original URL, so the bytes that were checked are the bytes that run. Bare specifiers resolve through the same import map as the shell's own code. Contract. default.manifest (slug, version, permissions within what was declared) and default.Component are validated, else refused (contract). Cache. The module is cached for the session by (package_url, package_sha256). A failure renders an empty state naming its code, with Open listing and Report actions. There is no fallback that runs unverified code. The codes are origin, network, integrity, contract, permission, runtime and disabled. The platform setting shell.remote_apps turns the whole feature off. Off, installs behave as they did before shell modules existed:"},{"title":"ChaozCode Platform Field Guide","url":"/platform-overview/","description":"ChaozCode is an integrated AI development platform for discovering capabilities, understanding code and memory, coordinating agents, changing repositories safely, validating outcomes, and deploying services.","text":"ChaozCode is an integrated AI development platform for discovering capabilities, understanding code and memory, coordinating agents, changing repositories safely, validating outcomes, and deploying services. Specialist agents Named agent specialists the ML router can assign work to. Multi-step workflows Registered workflows for repeatable analysis, review, implementation, validation, deployment and operations. Reviewed behaviours Intent-to-action mappings that sit above the raw catalog for common platform work. Service namespaces Runtime, MCP, code-only and proxy namespaces tracked by the live service registry. Active catalog records ToolEngine discovery records currently marked active, across HTTP, MCP and code symbols. Not a count of callable connector tools. Verified MCP records MCP catalog entries whose server answered a tools/list validation. Discover and select Start with reviewed behaviours for common work, then widen to the live catalog when the task is novel. chaoz_behaviors chaoz_tools_search chaoz_catalog_describe chaoz_catalog_invoke chaoz_route_task Understand code and context Resolve the repository, search before reading, inspect symbols and dependency context, and recover prior decisions from Memory Spine. chaoz_repo_resolve chaoz_repo_tree chaoz_repo_search chaoz_code_symbols chaoz_graph_context chaoz_memory_pins chaoz_memory_search chaoz_context_ice Change repositories safely Measure blast radius before editing, use conflict-aware writes, then inspect the diff and publish only the files in scope. chaoz_change_preflight chaoz_repo_read_file chaoz_repo_write_file chaoz_repo_diff chaoz_repo_scan chaoz_repo_commit chaoz_repo_push Coordinate agents and sessions Route work to specialists, delegate bounded tasks, exchange session messages, and preserve ownership across concurrent work. chaoz_agents_list chaoz_agent_execute chaoz_sessions_active chaoz_session_register chaoz_session_claim chaoz_session_delegate chaoz_collab_inbox chaoz_collab_send Automate workflows Run registered workflows or compose exact capabilities as batches and dependency-aware pipelines; poll asynchronous work explicitly. chaoz_workflows_list chaoz_batch chaoz_batch_async chaoz_pipeline chaoz_pipeline_async chaoz_job_status chaoz_job_cancel Verify quality and experience Use code, security, runtime, structural, and visual gates in proportion to the change. chaoz_judge_code chaoz_repo_scan chaoz_probe chaoz_vision_inspect chaoz_vision_check Deploy and operate Discover targets, run deployment preflight, execute, observe status, and validate routing before reloading services. chaoz_deploy_targets chaoz_deploy_preflight chaoz_deploy_execute chaoz_deploy_status chaoz_nginx_validate chaoz_nginx_reload chaoz_service_restart A common platform operation chaoz_behaviors Reviewed intent-to-action mappings are faster and safer than guessing among thousands of catalog rows. A capability you cannot name chaoz_tools_search Returns identity, transport, validation state, parameters, authentication, and an invocation contract. A codebase change chaoz_repo_resolve Confirms the canonical writable repository path before any search or edit. Prior decisions or platform facts chaoz_memory_pins, then chaoz_memory_search Pinned rules prevent re-derivation; scoped search recovers relevant outcomes and ownership context. Repeatable multi-step work chaoz_workflows_list Use a reviewed workflow when one fits; use chaoz_pipeline when explicit dependency wiring is required. A long-running specialist task chaoz_agent_execute Returns a job identifier immediately; chaoz_job_status provides explicit completion and failure state. A production change chaoz_deploy_preflight Separates target discovery and readiness checks from the external state change. Orient Load pinned standing rules, search Memory Spine for prior decisions, and confirm identity and platform health when the environment is uncertain. Locate Resolve the canonical repository or capability. Search broadly first, then read only the files, symbols, or contracts that matter. Preflight Measure working-tree state, related code, dependents, history, prior decisions, and the expected file version before editing. Change narrowly Follow existing ownership boundaries, use conflict-aware writes, and avoid touching unrelated work in shared repositories. Verify Run focused tests and quality gates, inspect the diff, scan for secrets, and use structural plus visual checks for interface changes. Publish and learn Commit only scoped files, push without force, deploy through preflight and status checks, then store the durable decision and measured outcome."},{"title":"Documentation changelog","url":"/changelog/","description":"Material changes to customer guidance, API contracts, routing guidance and documentation infrastructure.","text":"2026-11-20 Build an app for the ChaozCode shell A new developer page covers publishing a runtime module that opens inside the ChaozCode shell through the Marketplace: the module contract and shared externals, a minimal Vite build, hosting on the CDN, submission, review and new versions, the host API, and what each load failure code means. 2026-10-10 Plans and limits, and bringing your own API keys Two new guides: Plans and limits explains what your plan allows, what happens at a limit and how to change plans, with every plan name and allowance read live from API Manager; Bring your own API keys covers adding provider keys to your vault and creating the ChaozCode keys that act for you. The documentation that used to live inside the ChaozCode app now lives here — links to chaozcode.com/docs arrive at the matching page. 2026-10-09 Guides for ChaozAI, Venv and API Manager; screenshots in both themes Every app a ChaozCode account opens now has a guide: new pages cover ChaozAI (modes, models, threads), Venv (your private workspace and its storage) and API Manager (keys, providers, grants, webhooks and usage). All screenshots were retaken from one example account in dark and light, and the docs show the one that matches your theme. When you are signed in, the docs follow the theme on your ChaozCode account — a dark palette such as Midnight now shows as the dark theme instead of no theme at all. 2026-10-09 Live platform counts, examples in three languages, and accessibility checks The Platform overview now counts agents, workflows and catalog records live from the services that own them, and shows live service health, instead of a dated snapshot. API examples come in cURL, JavaScript and Python; the language you pick applies across the site. Support, Search and the not-found page match the rest of the docs, search now matches every word you type, and colours meet WCAG AA contrast in both themes. Every release is now checked in a real browser at phone, tablet and desktop widths, with an accessibility scan, before it goes live. The retired March 2026 content API now answers 410 Gone. 2026-10-08 Richer guides, new typography and plan names from API Manager Every product guide now opens with what the product is for, walks through each step in more detail, and adds Good to know notes and answers to common questions. Pages use a new type scale set in Inter, numbered step rails, clearer plan tables and a redesigned home page, in light and dark themes and at every screen width. Plan names and \"Available on\" labels now come live from API Manager, like the plan allowances. 2026-10-07 Documentation restored to the React application docs.chaozcode.com is served by the React documentation app again. The verified customer guides, tutorials, API reference and platform field guide are now React pages built from one versioned content set, which also generates the search index, sitemap, OpenAPI contract and llms.txt files. 2026-10-07 Enterprise documentation controls Added generated full-text search index, customer OpenAPI contract, API lifecycle/deprecation policy, live-contract verification, and first-class documentation quality gates. 2026-10-07 Verified customer API reference Replaced historical assumptions with live gateway/source-verified routes, including the distinction between .php customer endpoints and extensionless service proxies. 2026-10-07 Unified customer documentation Unified navigation, responsive layout, display settings, populated product captures, tutorials and customer onboarding."}]}
