- edit agent resources directly
- review changes with Git-style workflows
- validate changes before pushing
- work in VS Code or Cursor with the PolyAI ADK extension, or pair the ADK with AI coding agents such as Claude Code
- test and iterate before merging in Agent Studio
Local files
Agent configuration lives on disk in a structured project directory.
CLI workflow
Pull, edit, validate, push, and review changes using the
poly CLI.Platform sync
Agent Studio remains the source of deployment and preview. Branches can be merged with
poly branch merge from the CLI or through the Agent Studio UI.Developer tooling
The local workflow works naturally with editors, terminals, and AI-assisted coding tools.
What a local project contains
Each local ADK project represents an Agent Studio project. A project can define a voice or webchat agent, and its runtime behavior is controlled by resources such as flows, functions, topics, settings, and configuration files. A typical project structure looks like this:Generated filesFiles under
_gen/ are generated stubs and should not be edited directly.How local work maps to Agent Studio
The ADK does not replace Agent Studio. It acts as the local development layer around it. A typical flow looks like this:- initialize or pull a project locally
- create or switch to a branch
- edit resources on disk
- validate and inspect changes
- push changes back to Agent Studio
- test and review the branch in Agent Studio
- merge when ready
Standard CLI workflow
See the CLI working pattern for the full step-by-step. The short version: init → pull → branch → edit → validate → push → review → merge → chat.Resource reference syntax
Many ADK resources support references to other resources or values. These placeholders are used in prompts, rules, topic actions, and related text fields:| Syntax | Resolves to | Common use |
|---|---|---|
{{fn:function_name}} | Global function | Rules, topic actions, advanced step prompts |
{{ft:function_name}} | Flow transition function | Advanced step prompts within the same flow |
{{entity:entity_name}} | Collected entity value | Flow prompts |
{{attr:attribute_name}} | Variant attribute | Rules, prompts, greetings, personality, role |
{{twilio_sms:template_name}} | SMS template | Rules, topic actions |
{{ho:handoff_name}} | Handoff destination | Rules |
{{vrbl:variable_name}} | State variable | Prompts, topic actions, SMS templates |
Related pages
CLI reference
Review the main ADK commands and their purpose.
Tests
Write simulated conversation test cases under
test_suite/.Multi-user workflows and guardrails
Learn how branching, validation, and review fit into collaborative work.

