> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Context Agent • AI Agent SDK

> ContextAgent - Advanced Context Engineering for AI Coding Assistants

# context\_agent

<Badge color="blue">AI Agent</Badge>

ContextAgent - Advanced Context Engineering for AI Coding Assistants

This class implements proper Context Engineering principles following the PRD template:

* 10x better than prompt engineering
* 100x better than vibe coding
* Comprehensive context generation for first-try implementation success
* Systematic codebase analysis with modern tools
* PRP (Product Requirements Prompt) generation
* Validation loops and quality gates
* SAVES EVERY AGENT RESPONSE ALONG THE WAY for complete traceability

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents.agent import context_agent
```

## Classes

<CardGroup cols={2}>
  <Card title="ContextAgent" icon="brackets-curly" href="../classes/ContextAgent">
    Advanced Context Engineering Agent - Comprehensive context generation for AI coding assistants.
  </Card>
</CardGroup>

## Functions

<CardGroup cols={2}>
  <Card title="create_context_agent()" icon="function" href="../functions/create_context_agent">
    Factory function to create a ContextAgent following Context Engineering and PRD methodology.
  </Card>
</CardGroup>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Agents Concept" icon="robot" href="/docs/concepts/agents" />

  <Card title="Single Agent Guide" icon="book-open" href="/docs/guides/single-agent" />

  <Card title="Multi-Agent Guide" icon="users" href="/docs/guides/multi-agent" />

  <Card title="Agent Configuration" icon="gear" href="/docs/configuration/agent-config" />

  <Card title="Auto Agents" icon="wand-magic-sparkles" href="/docs/features/autoagents" />
</CardGroup>
