{"slug": "axon-a-typescript-framework-for-agent-development", "title": "Axon, a TypeScript framework for agent development", "summary": "Axon, a TypeScript runtime and toolkit for AI agents, provides a consistent way to define agents with capabilities, sessions, and local or cloud deployment. The framework handles context, tool calls, retries, sessions, and policy, allowing developers to focus on unique agent behavior. Axon offers modular integrations for services like GitHub, Linear, Discord, and Stripe, and supports deployment via a single command or Docker image.", "body_md": "# What is Axon?\n\nAxon is a runtime and toolkit for AI agents. It gives you a consistent way to define an agent, give it capabilities, keep its sessions, and run it locally or in the cloud.\n\nYou write the behaviour that is unique to your agent. Axon handles the runtime around it: context, tool calls, retries, sessions, and policy.\n\n[A runtime, without the plumbing](#a-runtime-without-the-plumbing)\n\nDefine what an agent knows, what it can do, and what it is allowed to access. Axon then assembles the context, runs the loop, dispatches tools, persists sessions, and enforces the policy you set. The application boundary is a single call:\n\n```\nconst { stream } = axon.stream({ prompt: [session, task], thread: \"project-alpha\" })\n```\n\nYou receive a stream of entries and decide what your application does with them. The runtime concerns stay in one maintained system instead of being rebuilt for every agent.\n\n[Add capabilities as modules](#add-capabilities-as-modules)\n\nIntegrations such as GitHub, Linear, Discord, and Stripe are modules. Install one and it brings its typed tools, client setup, event handling, and any required verification with it.\n\n```\naxon install @axon/github\naxon install @axon/linear\n```\n\nYour agent can then use documented calls such as `github.openPr`\n\n, `github.getPrDiff`\n\n, and\n`linear.createIssue`\n\n. The integration is installed; it is not another subsystem for you to\nmaintain.\n\nBrowse the available modules in the [registry](/docs/agents).\n\n[Work with the agent](#work-with-the-agent)\n\nThe terminal interface is where you run and inspect an agent. Tool calls are visible, sessions are navigable, and scripts are available without leaving the conversation.\n\nCommands stay close to hand: `!`\n\nruns a script, `@`\n\nopens sessions, `*`\n\nchanges model, and\n`>`\n\nloads a prompt into the input.\n\nIt can also manage Ollama. Browse compatible local models, start a download, and switch between local and cloud inference without changing the agent.\n\n[Deploy when it is ready](#deploy-when-it-is-ready)\n\n```\naxon deploy\n```\n\nAxon deploys the same project with a public URL, API key, and durable cloud storage. When\nyou need your own infrastructure, `axon build`\n\nproduces a Docker image for any container\nplatform.\n\nAn Axon agent is a project folder: its configuration, modules, and source travel together. It is not tied to a model vendor or a hosting provider.\n\nStart with [Installation](/docs/v2/getting-started/installation), then build [your first\nagent](/docs/v2/getting-started/first-agent).", "url": "https://wpnews.pro/news/axon-a-typescript-framework-for-agent-development", "canonical_source": "https://axon.arclabs.it/docs/v2", "published_at": "2026-07-24 11:03:24+00:00", "updated_at": "2026-07-24 11:22:18.592998+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-infrastructure"], "entities": ["Axon", "GitHub", "Linear", "Discord", "Stripe", "Ollama"], "alternates": {"html": "https://wpnews.pro/news/axon-a-typescript-framework-for-agent-development", "markdown": "https://wpnews.pro/news/axon-a-typescript-framework-for-agent-development.md", "text": "https://wpnews.pro/news/axon-a-typescript-framework-for-agent-development.txt", "jsonld": "https://wpnews.pro/news/axon-a-typescript-framework-for-agent-development.jsonld"}}