{"id":49387158,"url":"https://github.com/pantalytics/pan_ai_pro","last_synced_at":"2026-04-28T10:05:27.966Z","repository":{"id":341602517,"uuid":"1170702796","full_name":"pantalytics/pan_ai_pro","owner":"pantalytics","description":"Use Claude (Anthropic) as your Odoo 19 AI provider — agents, tool calling, RAG, and web search.","archived":false,"fork":false,"pushed_at":"2026-04-13T14:23:09.000Z","size":18516,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"19.0","last_synced_at":"2026-04-13T14:26:56.202Z","etag":null,"topics":["agents","ai","anthropic","claude","erp","llm","odoo","odoo-19","odoo-module","python","rag","tool-calling","web-search"],"latest_commit_sha":null,"homepage":"https://apps.odoo.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pantalytics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-02T12:23:50.000Z","updated_at":"2026-04-13T14:23:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pantalytics/pan_ai_pro","commit_stats":null,"previous_names":["pantalytics/pan_ai_pro"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pantalytics/pan_ai_pro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pantalytics%2Fpan_ai_pro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pantalytics%2Fpan_ai_pro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pantalytics%2Fpan_ai_pro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pantalytics%2Fpan_ai_pro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pantalytics","download_url":"https://codeload.github.com/pantalytics/pan_ai_pro/tar.gz/refs/heads/19.0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pantalytics%2Fpan_ai_pro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32375700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T09:24:15.638Z","status":"ssl_error","status_checked_at":"2026-04-28T09:24:15.071Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agents","ai","anthropic","claude","erp","llm","odoo","odoo-19","odoo-module","python","rag","tool-calling","web-search"],"created_at":"2026-04-28T10:05:19.951Z","updated_at":"2026-04-28T10:05:27.949Z","avatar_url":"https://github.com/pantalytics.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"pan_ai_pro/static/description/icon.png\" alt=\"AI Pro\" width=\"128\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eAI Pro\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eClaude AI provider + Airtable-style AI Fields for Odoo 19\u003c/strong\u003e\u003cbr\u003e\n  Use Anthropic Claude for agents, tool calling, RAG, and web search — plus smart auto-fill, auto-update, and per-field AI agents for Studio AI fields.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/pantalytics/pan_ai_pro/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-LGPL--3-blue.svg\" alt=\"License: LGPL-3\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Odoo-19-purple.svg\" alt=\"Odoo 19\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Claude-Opus_|_Sonnet_|_Haiku-orange.svg\" alt=\"Claude Models\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/pantalytics/pan_ai_pro/19.0/pan_ai_pro/static/description/ProductShowcase.gif\" alt=\"AI Pro Demo\" width=\"800\" /\u003e\n\u003c/p\u003e\n\n\u003e **Warning**\n\u003e This project is a **work in progress** and under active development. APIs, features, and configuration may change without notice. **Use at your own risk** — not recommended for production environments without thorough testing. No warranty is provided.\n\n---\n\n## What This Does\n\nThis module extends Odoo 19's built-in AI with two major capabilities:\n\n### 1. Claude as AI Provider\n\nOdoo 19 ships with OpenAI and Google Gemini. This module adds **Anthropic Claude** as a third provider — same UI, same agents, same tools.\n\n| Feature | Details |\n|---------|---------|\n| **AI Agents** | Claude works with Odoo's full agent system — topics, tools, system prompts, RAG |\n| **Tool Calling** | Claude calls Odoo server actions to search, create, and update records |\n| **Web Search** | Per-agent toggle for real-time web search (Anthropic server-side) |\n| **RAG / Sources** | Attach PDFs, knowledge articles, websites — Claude uses them as context |\n| **Structured Output** | JSON schema support for machine-readable responses |\n| **File Support** | Images, PDFs, and text files processed natively by Claude |\n\n| Model | Best For |\n|-------|----------|\n| **Claude Opus 4.6** | Complex reasoning, analysis, long-form content |\n| **Claude Sonnet 4.6** | Daily productivity — best speed/intelligence balance |\n| **Claude Haiku 4.5** | High-volume tasks — fast and cost-effective |\n\n### 2. Airtable-style AI Fields\n\nUpgrades Odoo Studio's AI Fields from basic single-provider generation to a smart, configurable system — inspired by [Airtable's AI fields](https://support.airtable.com/docs/using-airtable-ai-in-fields).\n\n| Feature | Details |\n|---------|---------|\n| **Per-Field Agent** | Each AI field can use a different AI agent (model, temperature, web search) |\n| **Auto Fill** | Fills all records with empty values in the background via cron |\n| **Auto Update** | Regenerates the value automatically when input fields change |\n| **Human-Edit Protection** | Manual edits are preserved — AI skips human-edited values |\n| **Stale Indicators** | Shows \"Inputs changed\" when source data changes (if auto-update is off) |\n| **Any Provider** | AI Fields work with Claude, OpenAI, or Gemini — no longer hardcoded to OpenAI |\n\n---\n\n## Setup\n\n### Prerequisites\n\n- Odoo 19 Enterprise with the AI module installed\n- Anthropic API key from [console.anthropic.com](https://console.anthropic.com/)\n\n### Installation\n\n**Odoo.sh** — Add as a Git submodule:\n\n```bash\ngit submodule add https://github.com/pantalytics/pan_ai_pro.git addons/pan_ai_pro\ngit commit -m \"Add pan_ai_pro submodule\"\ngit push\n```\n\n**Self-hosted** — Clone into your addons path:\n\n```bash\ncd /path/to/odoo/addons\ngit clone https://github.com/pantalytics/pan_ai_pro.git\n```\n\nThen install from **Apps** → search \"AI Pro\".\n\n### Configuration\n\n1. Go to **Settings → AI**\n2. Enable **\"Use your own Anthropic account\"**\n3. Paste your API key\n4. Create or edit an AI Agent → select a Claude model\n\n\u003e **Environment variable alternative:** Set `ODOO_AI_CLAUDE_TOKEN` to skip the UI — useful for Odoo.sh and Docker deployments.\n\n---\n\n## AI Fields Setup\n\n\u003e Requires the `ai_fields` module (installed with Odoo Studio). If Studio is not installed, this feature is simply skipped.\n\n1. Go to **Settings → AI**\n2. Select a default agent in the **AI Fields Agent** dropdown\n3. Optionally, override the agent per field in Studio's properties panel\n4. Enable **Auto Fill** and/or **Auto Update** per field as needed\n\nWhen neither auto option is enabled, the field shows an **\"Inputs changed\"** indicator when source data changes, and the user can click to regenerate manually.\n\nIf a user manually edits an AI-generated value, the field is marked as **human-edited** and skipped during automatic processing — AI never overwrites deliberate manual changes.\n\n---\n\n## Web Search\n\nEnable the **Web Search** toggle on any Claude agent to give it access to real-time web information.\n\n- Powered by Anthropic's native `web_search` capability\n- No external services to configure\n- Location-aware results using your company address\n- Up to 5 searches per conversation turn\n\n---\n\n## How It Works\n\nThis module extends the standard Odoo 19 AI infrastructure — no custom framework.\n\n```\nAgent selects \"Claude Sonnet 4.6\"\n  → Provider registry resolves to \"anthropic\"\n    → LLMApiService routes to _request_llm_anthropic()\n      → POST https://api.anthropic.com/v1/messages\n```\n\nAll existing Odoo AI features work automatically: Ask AI, text improvement, chatter AI, AI server actions, live chat, and more.\n\nSee [ARCHITECTURE.md](ARCHITECTURE.md) for technical details.\n\n---\n\n## Security\n\n| Aspect | Implementation |\n|--------|----------------|\n| API key storage | Standard Odoo `ir.config_parameter` |\n| Access control | System admin only (`base.group_system`) |\n| Environment variable | `ODOO_AI_CLAUDE_TOKEN` (optional) |\n\nAPI keys are stored the same way as OpenAI and Google keys in the built-in AI module.\n\n---\n\n## Contributing\n\nContributions are welcome. Please open an issue or pull request on [GitHub](https://github.com/pantalytics/pan_ai_pro).\n\n---\n\n## License\n\n[LGPL-3](LICENSE) — Built by [Pantalytics](https://github.com/pantalytics), Odoo implementation partner.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpantalytics%2Fpan_ai_pro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpantalytics%2Fpan_ai_pro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpantalytics%2Fpan_ai_pro/lists"}