Fine-tune Coin, step by step
Set how far Coin goes in one answer, how it reads dates and scans, which prompts it runs, which tables it may read, where else people can ask it, and see what it costs. All of it is settings and records in the Builder, with no code.
Set how far Coin goes in one answer, how it reads dates and scans, which prompts it runs, which tables it may read, where else people can ask it, and see what it costs.
What it is
- Limits and rules are Business settings (Builder → Settings, group AI Layer). Rows tagged system are Codossier Office's own: read them, do not change them. ai_chat_topic_window, ai_mining_date_rule, legal_research_default_effort and agent_preview_mode_enabled are yours to set.
- Five more settings do not exist until your office adds them with New setting: ai_skill_max_steps (30), coin_skill_start_confidence (85), coin_skill_suggest_confidence (65), ai_lode_chat_owner and ai_earlier_chats.
- Scans are read by the reader named in document_stack (Anthropic or Microsoft); search document_ in Settings for it and its endpoint.
- Coin's instructions are prompts in Builder → Prompts (about 60 keys starting coin.). New Version keeps the old text; Edit Current overwrites it. Invocation History shows each call with its version, model and cost.
- Access is Coin's role, Agent role - Coin (a tier of None on a table fences it off), the Add to Agent Access ticks, and Run As Rules.
- Coin also answers in Teams and Slack (Native Integrations) and, with Preview Mode on, an operation that acts at once shows its preview first. Spend is read in Monitoring → AI: there are no caps, only visibility.
Good to know
- With legal_research_default_effort at low, legal research uses free federal sources only.
- Codossier Office-owned prompts are restored when Codossier Office starts, so a change to one of them does not last. Use New Version to see what you changed.
- Nothing on this page needs a paid run. The prompt and setting forms here are shown open and are not saved.
Before you start
- Coin works well as it comes. This page is for the administrator who wants to tune it: how far it goes in one answer, how it reads dates and scans, which prompts it runs, which tables it may read, where else people can reach it, and what it costs.
- Almost everything is a setting or a record in the Builder, so there is no code to write. Open Builder and follow the steps in order. Nothing here is paid: you only change values and read lists.
- Settings tagged system are Codossier Office's own: read them, leave them alone. The others belong to your office.
1Coin's limits
Open Builder → Settings and type ai_assistant in the search box. ai_assistant_max_steps (16, tagged system) is how many tool steps Coin may take to answer one message. ai_assistant_max_chat_chars (also system) caps how much of a chat Coin reads. ai_chat_topic_window is your office's own: when it is On, a long chat is read from a recent window and Coin warns that it has not read the start.
To change one, click its edit pencil, set the value and save. Leave the system rows to Codossier Office.

2Settings you add yourself
Five settings only exist once you create them with New setting: ai_skill_max_steps (30, the steps one skill may take), coin_skill_start_confidence (85, how sure Coin must be to start a skill from plain words), coin_skill_suggest_confidence (65, how sure it must be to offer the Start? card), ai_lode_chat_owner (coin or router) and ai_earlier_chats (list or transcript).
Click New setting, type the key exactly, choose the type, enter the value and save. Until you do, the default applies. Here the key is typed but not saved.

3How dates are read
Search ai_mining. ai_mining_date_rule is On: when Coin reads an email or a note for dates, it applies the office's rule for turning words such as next Friday into a date. Turn it Off and relative dates are no longer worked out.

4Coin's own prompts
Open Builder → Prompts and search coin.surface. These are the instructions Coin starts from on each screen: coin.surface.home, coin.surface.record and coin.surface.contract. Coin has about 60 prompt keys in all (search coin.), including one per skill.

5A skill's prompt: New Version or Edit Current
Each skill runs a prompt named coin.skill. plus the skill's key, for example coin.skill.missing_documents. Open it to read the current version. New Version keeps the old text and starts a new one, so you can go back. Edit Current overwrites the live text. Prefer New Version. Nothing is saved by opening either.

6Every call, with its prompt version
Open Builder → Prompts → Invocation History, type coin. in Prompt key and click Apply. Each row is one call Coin made: the Ver of the prompt it used, the Model and the Cost. After a change, this is how you see that the new version is the one running.

7Fence a table off Coin
Open Builder → Roles and click Agent role - Coin. Coin reads every table and writes to app and custom tables through this one role. To keep a table away from Coin, set Coin's tier on that table to None; Codossier Office keeps your choice. Here the tiers are shown and nothing is changed.

8Your rights added to Coin's
Coin acts as the person who asks. Under Builder → Roles → Messages × roles, search Agent Access. A role ticked on Add to Agent Access lets agents add that role's rights to their own for that person. Run As Rules can also forbid Coin from running as a given person.

9Coin's spend by kind of work
Open Builder → Monitoring → AI and set Slice by to Kind of work. The rows show what Coin spends on Conversations, Legal research and Record refreshes. There are no spending caps: this page is for seeing the cost, and the same slice can be taken by agent or by person.

10Coin in Teams or Slack
Open Builder → Native Integrations. The Teams and Slack cards let people message Coin in a direct message or a mention and get the answer streamed back. Each person links their own account, and Coin answers with that person's rights.

What next
- Every switch and card of Coin's admin side in one place: Configure Coin.
- What Coin reads on each table and how it starts: Coin context.
- The general tour of settings, prompts and spend: Settings, Prompts and Monitoring.