Skip to content

Assista Coder

Assista Coder is an integrated AI development agent specializing in the Odoo framework. It combines general-purpose large language models with a specialized Odoo knowledge base to perform autonomous coding, architectural analysis, and project-wide refactoring.

Core Capabilities

Assista Coder provides a suite of tools engineered for the specific requirements of Odoo enterprise development.

  • Odoo-Native Knowledge Base: A specialized intelligence repository that indexes Odoo documentation, framework patterns, and version-specific coding standards.
  • Autonomous Chat Modes:
    • Agent Mode: An autonomous execution mode capable of file system manipulation (read, write, edit, and refactor). It can perform multi-file operations such as module creation or cross-model bug fixes.
    • Chat Mode: A read-only analytical mode optimized for architectural discussion and planning. It provides codebase context without modifying files.
  • Contextual Analysis:
    • Structural Awareness: Analyzes relationships between Python models, XML views, and manifest files to ensure synchronized code generation.
    • Traceback Diagnostics: Correlates Odoo server tracebacks with local project code to identify root causes within the framework lifecycle.
  • Interactive Diff System: A side-by-side interface for reviewing AI-proposed code changes. Users can accept, reject, or request iterative refinements before committing changes to the workspace.
  • Multi-Model Support:
    • Assista Infrastructure: Access to Odoo-optimized models managed by Cybrosys.
    • Bring Your Own Key (BYOK): Integrated support for external API providers including OpenRouter, Google Gemini, Anthropic, and OpenAI.

Authentication Requirement

Access to the specialized Odoo-optimized models via the Assista Provider requires an active Assista account login within the IDE.

Development Workflow

Assista Coder utilizes an iterative process where user intent is translated into framework-compliant execution.

1. Functional Prompting

To optimize agent accuracy:

  • Mention Context (@): Use the @ symbol to explicitly map relevant files into the agent's active context.
  • Define Logic Constraints: Specify the desired Odoo architectural patterns (e.g., "Implement a compute field with a dependency on X") to leverage the specialized knowledge base.

2. Diff Management

When operating in Agent Mode, all proposed changes are presented in a Side-by-Side Diff View:

  • Review: Compare original source with proposed modifications.
  • Commit: Use the Accept icon to write the changes to the disk.
  • Discard: Use the Reject icon to cancel the proposal.
  • Refinement: Provide follow-up instructions (e.g., "Change the field type to many2one") to regenerate the proposal within the same context.

Configuration & Settings

The settings interface (accessible via the Gear Icon) allows for granular control over the agent's behavior.

  • Odoo Knowledge Source: Toggle the specialized Odoo intelligence engine. Disabling this reduces token consumption for standard Python tasks but removes framework-specific insights.
  • Provider Management: Enable or disable specific models within the Assista infrastructure.
  • BYOK Configuration: Interface for entering API keys for external model providers.
  • Agent Defaults: Configure the default initialization mode (Agent or Chat) for new sessions.
  • Session History: (Clock Icon) Access to a searchable index of previous interactions for context continuation or deletion.

Interface Controls

  • Interaction Bar:
    • Mode Selector: Toggle between Agent and Chat modes for the active session.
    • Model Selector: Change the underlying AI provider on-the-fly.
    • Context Search (@): Trigger file indexing for explicit context mapping.
  • Workspace Management:
    • Session Control: (Plus Icon) Initialize a fresh development session with a clean context.
    • Window Scaling: Maximize, minimize, or close the Coder interface for focused development.

Assista Coder is optimized for compliance with Odoo's latest coding guidelines and architectural standards.