A Developer’s Guide to Building and Testing AI Agents with Astropods and the Postman Plugin A Postman developer advocate published a guide detailing how he built and deployed Quill, a Slack AI agent, on the Astropods platform, starting from a `skills/blog-write/SKILL.md` file that instructs the model to research a topic and produce a Markdown blog draft with YAML frontmatter. The guide describes testing Quill's non-deterministic writing prompts with Postman's AI Request before wiring them into the agent, then adding a Confluence tool so the agent saves drafts to a configured space and returns the page link. The workflow matters to builders because it pairs a written skill definition with Astropods evals and Postman API tests to check whether the agent completed the task and reported results accurately. A Developer’s Guide to Building and Testing AI Agents with Astropods and the Postman Plugin I built a Slack agent called Quill and deployed it to production on Astropods https://astropods.com/ . Its first job was to turn a topic into a blog draft and save it to Confluence. Today, it can also copy-edit the draft and stage it in WordPress for review. Read the story behind Quill https://blog.postman.com/building-quill-a-slack-ai-blog-agent-with-astro-pods/ . In this guide, I’ll show you how I built that first workflow, from writing a SKILL.md file to adding a Confluence tool and running the agent locally. Then I’ll show how I used the Postman plugin https://learning.postman.com/docs/postman-plugin/overview to test the APIs Quill depends on and Astropods evals to check whether Quill completed the task and reported the result accurately. Quill on GitHub https://github.com/Postman-Devrel/Quill What makes an application an AI agent? An AI agent uses a model to decide what to do next. In a traditional workflow, your code defines the sequence. In an agent, the model chooses the next action based on the request and what it has learned so far. Your application defines which tools it can call. If the steps are known in advance, a regular workflow is usually simpler to build and test. An agent is useful when the next step depends on what it discovers along the way. Anthropic’s guide to building effective agents https://www.anthropic.com/research/building-effective-agents Quill uses both patterns. The model decides what to research and how to turn it into a draft. When it’s time to save the draft, application code sends it to a configured Confluence space. I started by writing down how I wanted Quill to handle the writing part. 1. Write a skill for the first task I started with a task I already knew how to do as a developer advocate. Take a technical topic and turn it into a blog draft another developer can follow. I wrote down how I do that work in skills/blog-write/SKILL.md . The file starts with YAML frontmatter that names the skill and describes when to use it. The Markdown body tells the model how to handle the input, what to research, and what the finished draft should contain. Quill’s blog-write skill https://github.com/Postman-Devrel/Quill/blob/main/skills/blog-write/SKILL.md Here’s a simplified version of the file. --- name: blog-write description: Draft technical tutorials and guides about Postman and APIs. --- Input Start from a topic, outline, brief, or existing draft. If the user hasn't supplied a topic or source material, ask for it. Research Find relevant documentation, check existing blog coverage, and look for examples developers can run. Write Follow the Postman writing style guide. Explain the technical decisions and include runnable examples with language-tagged code blocks. Output Save the draft as Markdown with YAML frontmatter for the suggested title, meta description, and keywords. Writing the skill gave me a way to test what “write a good post” meant. I could give the model a topic like “Testing OAuth 2.0 flows in Postman” and check whether the draft covered the topic, linked to the right docs, included runnable examples, and supplied the expected metadata. I ran the writing prompt against different topics using Postman’s AI Request before wiring it into Quill. That helped me spot where the model drifted from the style guide while I was still working on the writing task by itself. How I tested Quill’s writing prompts https://blog.postman.com/building-quill-a-slack-ai-blog-agent-with-astro-pods/ testing-the-non-deterministic-parts-with-postman-ai-request 2. Turn the skill into a job the agent can complete Once I had a writing task I could test on its own, I gave Quill a job with a result I could verify outside the chat. Take a blog topic, write a draft using the blog-write instructions, save it to Confluence for review, and return the page link. The skill explains how to write the draft. The Confluence tool gives Quill a way to save it. The job is complete when the page exists in the intended Confluence space and the link Quill returns opens that draft. | Piece | What it does in Quill | |---|---| | Model | Claude interprets the request and writes the draft through the Astropods AI Gateway. | | Skill | blog-write provides the research steps, writing standards, and expected draft format. | | Tool | The Confluence integration saves the draft and returns the result. | | Execution loop | Mastra runs tool calls and passes the results back to the model. | | Interface | I use the playground to test locally and Slack to work with the deployed agent. | Quill on GitHub https://github.com/Postman-Devrel/Quill · Quill’s Astropods blueprint https://astropods.com/postman/quill 3. Run the agent locally and inspect the trace To follow along, open the Quill project directory that contains astropods.yml . You’ll need Docker running, an Astropods project, and Confluence credentials that can create a page in your test destination. Quill on GitHub https://github.com/Postman-Devrel/Quill · Astropods local setup walkthrough https://blog.postman.com/building-quill-a-slack-ai-blog-agent-with-astro-pods/ building-locally-with-astro-ai Quill uses the Astropods AI Gateway for model access. Here’s the model configuration. models: default: provider: gateway models: claude-sonnet-4-6, claude-haiku-4-5 Mark credential entries as secret: true in astropods.yml , then configure the values and start the agent. ast project configure ast project start In my setup, blank entries in .env overrode values I’d already stored with ast project configure . Removing the duplicate entries let the agent use the stored values. Open the playground and try this prompt. Write a short blog draft about testing the APIs an AI agent depends on and save it to Confluence. Check the result in three places. 1. The trace shows the save tool receiving the title and draft body and returning a successful result. 2. Confluence contains the new page in the intended space. 3. Quill’s reply links to the page returned by the tool. Use ast project start --rebuild when you change files baked into the image. Use ast project logs to view the run’s output and ast project stop to stop the local run. 4. Add tools as the workflow grows After the Confluence workflow worked reliably, I added WordPress staging, Jira tickets, analytics, and Google Docs one at a time. Each integration solved a specific problem in the editorial workflow and gave me another action to verify. As the workflow grew, I had to revisit the step limit. In my Mastra setup, a run could stop after five steps without throwing an error. A request that drafts a post, saves it to Confluence, files a Jira ticket, and stages it in WordPress could hit that limit partway through. Run your longest workflow end to end and inspect the trace to see how many steps it takes and where it stops. Mastra https://mastra.ai/ Plan for partial success too. If Quill saves a Confluence draft and creates a Jira ticket but WordPress staging fails, the reply should link to the page and ticket and identify the failed step. A retry should reuse the records that already exist. Quill’s title-match logic is one example of checking for an existing draft before creating another one. Put boundaries around actions Reading analytics and creating a Jira ticket have different consequences. For Quill, I set boundaries around the tools that create or change things in other systems. - Give the agent its own identity. A dedicated service account makes pages and tickets attributable to Quill. Scope its permissions to the actions the workflow needs. - Enforce requirements in code. Quill’s WordPress staging code checks the draft’s frontmatter for SEO and AEO metadata and blocks staging if either is missing. - Keep publishing with the editor. Quill can stage a WordPress draft for review. Its toolset ends at staging, and an editor publishes the post. - Bound each run and record what happened. A step limit caps how many steps the agent can take. The trace shows which tools it called, what arguments it passed, and what came back. 5. Test the APIs and evaluate the agent I test Quill at two levels. Postman Plugin https://learning.postman.com/docs/postman-plugin/overview check whether its API dependencies work with the requests, credentials, and response fields Quill relies on. Astropods evals https://docs.astropods.com/evals check what Quill did with those tools and what it told the user. A fixed assertion on a status code or response field is deterministic. Given the same response, it produces the same pass or fail. The live response can still change with credentials, permissions, or service configuration. Agent behavior can also vary across runs of the same request. Quill might choose a different tool, pass different arguments, or phrase its reply differently. An eval can apply a fixed rule or use a model to judge the result. Use the Postman plugin to test API dependencies The Postman plugin lets your coding agent inspect a project, identify the APIs it calls, and generate and run Postman Collections. I review those Collections alongside the application code, paying particular attention to the requests they make and the response fields they check. Postman plugin documentation https://learning.postman.com/docs/postman-plugin/overview In Claude Code, install the plugin with these commands. claude plugin marketplace add anthropics/claude-plugins-official claude plugin install postman@claude-plugins-official My prompt for Quill was one line. I want to test every API that Quill uses. The coding agent found nine external services, including WordPress, Confluence, Jira, Google Drive, Tavily, and YouTube, and generated a Collection for each. - The assertions check the fields Quill reads. A Tavily response can return 200 and still lack a field Quill needs. The test can identify the missing field. - The requests exercise real credentials and permissions. The Google Drive Collection made a files.create request, which surfaced a service-account configuration issue. - The Collections live in the repository. They can go through pull-request review and run in CI alongside other tests. Eight of the nine Collections passed on the first live run. Google Drive returned a 403 . storageQuotaExceeded: Service Accounts do not have storage quota. Use shared drives, or OAuth delegation instead. A comment in my code called the shared-drive folder “optional.” The live request showed that Quill needed a shared-drive destination to create a document with its service-account configuration. That gave me a specific fix for the Google Docs workflow before a user hit the error in Slack. It’s easy to skip this layer when the agent is already replying in Slack. A plausible reply can hide a failed call, and a successful HTTP response can still be missing a field the agent needs. The Postman plugin makes it easier to generate and run tests that catch those failures. Postman plugin overview https://learning.postman.com/docs/postman-plugin/overview Use Astropods evals to check what the agent did Astropods traces https://docs.astropods.com/messaging-sdk/trace-context show the tool calls, arguments, and responses from a run. An eval can use that history to check whether Quill’s final reply matches what happened· What I look for in Quill’s production traces https://blog.postman.com/building-quill-a-slack-ai-blog-agent-with-astro-pods/ what-i-can-see-now-that-its-running Quill’s EVALUATION.yaml combines preset evaluators for claim grounding and leaked credentials with custom checks for its editorial workflow. One custom check flags a reply that says Quill published a post when the trace shows it only staged a draft. The Google Drive failure gives you an example of what to check at each level. | Check | What it verifies | |---|---| | Postman Collection | Can Quill’s service account create a file in the configured destination, and does the response include the file ID Quill needs? | | Astropods eval | If the trace contains a failed file creation call, does Quill accurately tell the user the document couldn’t be saved? | I saw a similar gap after adding YouTube support. All 440 recorded runs had a status of ok , including four where Quill told me it couldn’t read the video. The run status showed that execution completed. Looking at the actual replies surfaced four requests where Quill couldn’t do the work the user asked for. Anthropic’s guide to evaluating agents https://www.anthropic.com/research/demystifying-evals-for-ai-agents 6. Verify the deployed workflow from Slack I deployed Quill on Astropods and connected it to Slack. Once your workflow works locally, run the same prompt through the deployed agent. For Quill, that means checking that the draft exists in the intended Confluence space, opening the link from Slack, and reviewing the trace to confirm that the save result matches the reply. How I deployed Quill and connected Slack https://blog.postman.com/building-quill-a-slack-ai-blog-agent-with-astro-pods/ pushing-to-a-blueprint-and-deploying · Quill’s Astropods blueprint https://astropods.com/postman/quill Test one failure from Slack too. Use a test destination the agent can’t write to and check that the trace shows the failed call and the reply tells the user what happened. Repeat these checks when you add tools or change credentials, prompts, or permissions. If you’re building your first agent, pick a task you already know how to do and write down what a good result looks like in a SKILL.md file. Give the agent one action you can verify in another system. Test the API that performs the action and use a trace to check how the agent reports the result. For Quill, that first milestone was one draft saved to one Confluence page.