It generates the quality code along with the test cases
Deploy / Run AgentAPI & SDK Integration
Load, run, and interact with this agent programmatically using standard HTTP curl requests or the SVAHNAR SDK.
Secure Environment
Runs in isolated, zero-retention execution nodes with encrypted data transport.
Models Used (1)
Tools Attached (0)
No tools attached to this agent.
MCP Connections (0)
No Model Context Protocol servers connected.
Specifications
AGENT TYPE
Multi-Agent System
SUB-AGENTS
2 agents
SUPERVISOR
No
RUNS
1,200+ runs
Configuration (YAML)
create_vertical_agent_network:
agent-1:
LLM_config:
params:
model: gpt-4o-mini
max_tokens: 1000
temperature: 0.5
request_timeout: 600
agent_name: Agent_1
incoming_edge:
- Start
outgoing_edge:
- Agent_2
agent_function:
- You are a senior software engineer which make quality code that satisfy the
requirements of user. The code is proper, fully functional and satisfy all the
need of user
agent-2:
LLM_config:
params:
model: gpt-4o-mini
max_tokens: 1000
temperature: 0.5
request_timeout: 600
agent_name: Agent_2
incoming_edge:
- Agent_1
outgoing_edge: []
agent_function:
- You are a code tester. You write the test cases for the program and check the
possible outcomes will satisfy by it or not and you provide response with the
code you get for testing and your generated test cases for that code
Developer Quick Start
1. Install the SDK
pip install svahnar2. Configure your API key
export SVAHNAR_API_KEY="your_api_key_here"3. Save the Configuration YAML
Copy the YAML configuration box above and save it locally as agent.yaml.
4. Deploy the Agent (Python)
from svahnar import Svahnar
from pathlib import Path
client = Svahnar()
# Deploy the agent configuration
agent = client.agents.create(
name="Code Generator Agent",
description="It generates the quality code along with the test cases",
deploy_to="Organization",
yaml_content=Path("agent.yaml")
)
print(f"Created Agent ID: {agent.id}")5. Run the Agent (Python)
from svahnar import Svahnar
client = Svahnar()
# Run the agent using its ID
response = client.agents.run(
agent_id="YOUR_DEPLOYED_AGENT_ID", # Replace with your agent ID from Step 4
message="Your input message here"
)
print(response)For advanced features, Human-in-the-Loop configurations, and guides, visit the Developer Documentation.