# Developers

> Build on Debreu. Connect any AI model or app to your company’s data, with your permissions on every call.

## Connect from anywhere.

- **AI assistants:** Claude, ChatGPT and other assistants work with your Debreu data directly.
- **MCP clients:** Cursor, Claude Code, Codex and any other MCP client.
- **REST API:** The same tools over HTTPS, for scripts and internal apps.
- **Python SDK:** Typed records for your own code, in a few lines.

All of these connect through your Debreu account, where you’ll find setup steps and keys.

## Build agents on your data.

Agents read and update the same companies, people, deals and tasks your team works in, with your permissions.

- **Claude agent:** Every Friday, an agent reviews each live deal, posts a summary and flags what has stalled.
- **Python SDK:** A nightly script, no model needed: quiet deals get a follow-up for their lead.
- **Desktop app:** Or just ask, from the desktop app you already use.

```python
# Friday pipeline review: summarize every live deal, flag the stalled ones
from claude_agent_sdk import query, ClaudeAgentOptions

debreu = {"command": "npx", "args": ["-y", "debreu-mcp"],
          "env": {"DEBREU_API_KEY": key}}

review = """
For every live deal: what changed this week, new buyer signals,
and whether it has stalled. Post the summary as a comment on the
deal. For stalled deals, create a task for the deal lead due Monday.
"""

async for msg in query(prompt=review,
                       options=ClaudeAgentOptions(mcp_servers={"debreu": debreu})):
    print(msg)
```

```python
# Nightly: any deal in diligence that has gone quiet gets a follow-up
from datetime import date, timedelta
from debreu import Debreu

db = Debreu()  # reads DEBREU_API_KEY
quiet_since = date.today() - timedelta(days=14)

for deal in db.projects.list(status="Diligence"):
    if deal.last_activity_at.date() > quiet_since:
        continue
    db.tasks.create(
        description=f"Check in on {deal.name}: quiet for two weeks",
        project_id=deal.id,
        assignee_id=deal.team_lead.id,
        due_date=date.today() + timedelta(days=2),
    )
```

Asked in Claude Desktop: "Which buyers on Project Atlas went quiet after the management presentation? Set a follow-up for each on Friday."

## Tools shaped by your data.

Agents get tools for the records, fields and workflows your team defines in Debreu. Change your model and the tools follow.

Some of today's tools: `add_tracker`, `create_agent_run`, `get_sentiments`, `get_tasks`, `bulk_tag_entities`, `get_transaction`, `manage_company_offices`, `update_deal_memo`, `get_public_prospect_schema`, `create_comment`, `query_projects`, `create_person`, `decide_review_items`, `update_project`, `set_entity_tags`, `get_comparable_prospects`, `create_deal_memo`, `create_dashboard`, `set_deal_signal`, `create_company`, `query_metric_history`, `get_portfolio_prospect`, `manage_business_planner`, `get_people`, `create_project`, `update_tracker`, `list_agent_runs`, `update_comment`, `list_trackers`, `manage_company_contacts`, `update_person`, `list_file_shares`, `get_team`, `get_tracker`, `create_tracker`, `get_portfolio_data`, `query_deal_signals`, `find_comparable_prospects`, `get_file`, `get_my_week`, `link_to_project`, `promote_prospects`, `update_task`, `manage_person_education`, `get_biopharma_assets`, `update_dashboard_config`, `lookup_company`, `get_project`, `query_companies`, `get_deal_memo`, `lookup_person`, `create_task`, `query_transactions`, `get_review_queue`, `manage_person_career`, `get_deal_signal_history`, `query_comments`, `get_metric_schema`, `update_company`, `create_transactions`, `manage_deal_memo_review`, `get_status_definitions`, `list_dashboards`, `upload_file`, `query_files`, `update_prospect`, `get_my_day`, `unlink_from_project`, `update_portfolio_data`.

## Agents see only what they should.

- **Custom agents:** Give each agent its own access and permissions. Set usage limits per agent.
- **Admin rules:** Admins set rules that shut off access for any user or agent.
- **Every call logged:** Each request is recorded for audit. Alerts on suspicious or inefficient behavior.

## FAQ

### What’s included?

MCP access is included on every plan. The REST API and Python SDK are available on request.

### MCP, REST or SDK?

Same tools underneath. MCP for AI clients, REST and the Python SDK for your own code.

### Are there rate limits?

Fair-use limits apply.

### Where are the docs?

MCP tool descriptions are built in. REST and SDK documentation come with access.

### Want to integrate your product with Debreu?

We work with companies and developers building integrations. Reach out at contact@debreu.ai.

## Contact

Integrations and API access: contact@debreu.ai
