> ## 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.

# Code Agent • AI Agent SDK

> CodeAgent - Code generation, execution, review, and refactoring with sandboxing.

# code\_agent

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

CodeAgent - Code generation, execution, review, and refactoring with sandboxing.

## Import

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

## Classes

<CardGroup cols={2}>
  <Card title="CodeConfig" icon="brackets-curly" href="../classes/CodeConfig">
    Configuration for CodeAgent.
  </Card>

  <Card title="CodeAgent" icon="brackets-curly" href="../classes/CodeAgent">
    Agent for code generation, execution, review, and refactoring.
  </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>
