CRM and sales
FreeAgent for AI agents.
Make the right invoice easier to review.
Read accessible invoices and related records in FreeAgent. Prepare a source-grounded billing review briefing within the selected account.
About FreeAgent
With the FreeAgent connector, your agent reads accounting data in each user’s own FreeAgent account. It can list and read invoices, list and read contacts, and list expenses, using only the tools your project allows.
FreeAgent is an online accounting service for small businesses and freelancers.
Tools
What your agent can do in FreeAgent.
Each tool is a capability the model can call. You decide which ones a project allows, and every call runs with the end user's own FreeAgent connection.
-
List invoices
Readfreeagent_list_invoicesFind invoices in the authorized FreeAgent account.
-
Read an invoice
Readfreeagent_get_invoiceRetrieve one invoice by its resource URL.
-
List contacts
Readfreeagent_list_contactsFind available contact records.
-
Read a contact
Readfreeagent_get_contactRetrieve one identified contact.
-
List expenses
Readfreeagent_list_expensesReview recorded expenses in scope.
No tool matches that search.
Control
Limits you can set.
You decide what your agent may do in FreeAgent, and Agent200 runs every call within those limits.
-
Turn single tools on or off
Let the agent read invoices and contacts, and switch off
freeagent_list_expensesif it should not see expenses. -
Restrict what the agent reaches
Choose the endpoints and scopes a project may use, for example invoices and contacts but not expenses. A call outside them is refused.
Get started
Connect FreeAgent
in three steps.
-
1
Set up the SDK
Add the Agent200 SDK to the codebase you already have and authenticate with your API key. The key covers every connector enabled for the project.
agent.jsConceptual exampleSet up the SDK with the Agent200 API key // One Agent200 API key covers every connector enabled for the project. const agent200 = new Agent200({ apiKey: process.env.AGENT200_API_KEY, }); -
2
Let your user connect FreeAgent
Each end user authorizes their own FreeAgent account once. Agent200 runs the OAuth flow, handles the callback, stores the tokens and refreshes them.
connect.jsConceptual exampleLet an end user connect their account (managed OAuth) // Each end user authorizes their own FreeAgent account, once. const connection = await agent200 .user("user_123") .connect("freeagent"); if (connection.authorizationUrl) { // Show this link to your user; Agent200 handles the rest. console.log(connection.authorizationUrl); } -
3
Run with the FreeAgent tools
Name the user, the model and the tools. The model decides which FreeAgent tools to call, and Agent200 executes them with that user's connection.
run.jsConceptual exampleRun a request with the connector's tools const result = await agent200 .user("user_123") .run({ model: "openai/gpt-5.6-sol", input: "Which FreeAgent invoices are still unpaid", tools: ["freeagent"], }); console.log(result.output);
Access
Sign-in and permissions.
-
Connect the intended account
Use the documented FreeAgent authorization route. Confirm the organization, team or workspace before reading records.
-
Match access to the request
Use the authorized FreeAgent account through OAuth. Keep sandbox and production connections separate and verify account identity before reading billing data.
-
Preserve the application user
Keep the same stable application user identity for connection and later requests. Store the Agent200 key outside prompts and code.
For agents
Instructions for AI agents.
Using a coding agent? Paste this brief into it, or give it the address of this page. It describes the FreeAgent connector and how to use it.
Connector: FreeAgent, through Agent200. In code: "freeagent". What it does: Read accessible invoices and related records in FreeAgent. Prepare a source-grounded billing review briefing within the selected account. Page: https://www.agent200.com/connectors/freeagent/ 1. Get an Agent200 API key. If the developer has none, send them to https://agent200.com/platform/apikeys/ and ask them to choose "Create an API key". Read the key from the AGENT200_API_KEY environment variable. Never ask for it in chat, and never write it into code, prompts or logs. 2. Sign-in is managed OAuth. Each end user approves access once, on FreeAgent's own page, through the authorization link Agent200 returns. Never ask a user for a FreeAgent password or token in chat. 3. Give every request a stable id for the end user. Agent200 uses only that user's own connection. 4. Read tools: freeagent_list_invoices, freeagent_get_invoice, freeagent_list_contacts, freeagent_get_contact, freeagent_list_expenses. Name "freeagent" in the tools of a request; the model decides which tool to call. 5. Stay within the project's settings. If a tool is turned off or a call is refused, tell the user. Do not work around it. 6. Before a write, confirm with the user, unless they asked for that exact change. 7. For setup with a specific framework, follow its guide: https://www.agent200.com/connectors/freeagent/framework/claude/ https://www.agent200.com/connectors/freeagent/framework/chatgpt/ https://www.agent200.com/connectors/freeagent/framework/claude-code/ https://www.agent200.com/connectors/freeagent/framework/muse/ https://www.agent200.com/connectors/freeagent/framework/grok-bot/ https://www.agent200.com/connectors/freeagent/framework/openai-dots/ https://www.agent200.com/connectors/freeagent/framework/claude-duet/ https://www.agent200.com/connectors/freeagent/framework/hermes-agent/ https://www.agent200.com/connectors/freeagent/framework/openclaw/ The code on the connector page is a conceptual example of the SDK. SDK reference: https://docs.igpt.ai/
This page is also available as Markdown, for agents and LLMs: /connectors/freeagent.md
Guides
Use FreeAgent with the AI you build on.
Step-by-step setup for FreeAgent with a specific model, assistant or agent framework.
-
FreeAgent + Claude
How to connect FreeAgent to Claude
-
FreeAgent + ChatGPT
How to connect FreeAgent to ChatGPT
-
FreeAgent + Claude Code
How to connect FreeAgent to Claude Code
-
FreeAgent + Muse
How to connect FreeAgent to Muse
-
FreeAgent + Grok Bot
How to connect FreeAgent to Grok Bot
-
FreeAgent + OpenAI Dots
How to connect FreeAgent to OpenAI Dots
-
FreeAgent + Claude Duet
How to connect FreeAgent to Claude Duet
-
FreeAgent + Hermes Agent
How to connect FreeAgent to Hermes Agent
-
FreeAgent + OpenClaw
How to connect FreeAgent to OpenClaw
FAQ
FreeAgent and Agent200, answered.
What access does FreeAgent need?
Use the authorized FreeAgent account through OAuth. Keep sandbox and production connections separate and verify account identity before reading billing data. Provider documentation.
Does a list include every record?
Sandbox records are test data. Do not present a sandbox result as production revenue or an invoice status as a bank reconciliation.
Can this workflow make changes?
The listed FreeAgent operations are read-only. A proposed change in the agent answer does not edit the source.
How should I verify the answer?
Identify the selected invoice and compare the answer with invoice, contact, status and amount fields. Disclose missing or inaccessible fields.
Are these exact runtime tool schemas?
The listed identifiers describe catalogue capabilities. Discover the actual runtime tool names and input schemas before executing a request.